기술 자료

Unity Engine

Unity Engine

CastShape(CastShapeInput, out PhysicsShape)

Calculate if a cast shape intersects the chain. See PhysicsQuery.CastShapeInput and PhysicsQuery.CastResult.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

CastShape(CastShapeInput, PhysicsShape)

public PhysicsQuery.CastResult CastShape(PhysicsQuery.CastShapeInput input, out PhysicsShape chainSegmentShape)

Parameters

The cast shape input used to check for intersection.

chainSegmentShape

A reference to the chain segment shape that the query found.

Returns

Type

Description

CastResultThe results of the intersection test.