FromShape(PhysicsShape, Vector2)
Create a CastShapeInput the specified world shape. The geometry will automatically be translated into world-space.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public static PhysicsQuery.CastShapeInput FromShape(PhysicsShape shape, Vector2 translation)
Parameters
Returns
Type | Description |
|---|---|
| CastShapeInput |