PhysicsQuery.ShapeSweep
Describes the motion of a shape for a time-of-impact calculation. The shape is defined with respect to the body origin.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public struct PhysicsQuery.ShapeSweep
Properties
Property | Description |
|---|---|
| localCOM | The local center of mass. |
| positionEnd | The world center of mass end position. |
| positionStart | The world center of mass start position. |
| rotationEnd | The world rotation end. |
| rotationStart | The world rotation start. |