기술 자료

Unity Engine

Unity Engine

CastShape(CastShapeInput)

Calculate if a cast shape intersects the geometry. Initially touching shapes are treated as a miss. You should check for overlap first if initial overlap is required. See PhysicsQuery.CastShapeInput and PhysicsQuery.CastResult.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public readonly PhysicsQuery.CastResult CastShape(PhysicsQuery.CastShapeInput input)

Parameters

The cast shape input used to check for intersection.

Returns

Type

Description

CastResultThe results of the intersection test.