기술 자료

Unity Engine

Unity Engine

CastShapes(CastShapePairInput)

Cast two shape proxies against each other. Initially touching shapes are treated as a miss. You should check for overlap first if initial overlap is required.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public static PhysicsQuery.CastResult CastShapes(PhysicsQuery.CastShapePairInput castShapePairInput)

Parameters

castShapePairInput

The input describing the shape proxies and how they should move.

Returns

Type

Description

CastResultThe cast result.