PhysicsShape.MoverData
The mover data assigned to a PhysicsShape.moverData. This is used when PhysicsShape are encountered when using PhysicsWorld.CastMover.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public struct PhysicsShape.MoverData
Constructors
Constructor | Description |
|---|---|
| MoverData() | Create a default mover data. |
Properties
Property | Description |
|---|---|
| clipVelocity | Controls if this shape can clip the mover velocity. |
| pushLimit | Controls the amount this shape can push against a mover. To effectively set no limit, use MaxValue. |