PhysicsShape.MoverData
The mover data assigned to a _moverData. This is used when PhysicsShape are encountered when using PhysicsWorld.CastMover.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Struct
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
- Implements: IEquatable<MoverData>
public struct PhysicsShape.MoverData : IEquatable<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. |