ShapeAndShape(PhysicsShape, PhysicsTransform, PhysicsShape, PhysicsTransform)
Check the intersection between two shapes ( PhysicsShape ).
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public static PhysicsShape.ContactManifold ShapeAndShape(PhysicsShape shapeA, PhysicsTransform transformA, PhysicsShape shapeB, PhysicsTransform transformB)
Parameters
The first shape to use.
The transform used to specify where the first geometry is positioned.
The second shape to use.
The transform used to specify where the second geometry is positioned.
Returns
Type | Description |
|---|---|
| ContactManifold | The contact manifold fully detailing the intersection. |