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.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public static PhysicsQuery.CastResult CastShapes(PhysicsQuery.CastShapePairInput castShapePairInput)
Parameters
The input describing the shape proxies and how they should move.
Returns
Type | Description |
|---|---|
| CastResult | The cast result. |