maximumLinearSpeed
The fastest any body in the world can move, in meters per second. Each simulation step, a body moving faster than this is slowed to it, which stops a body covering so much distance in one step that the simulation becomes unstable.
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public float maximumLinearSpeed { get; set; }
Remarks
A value from zero up to PhysicsConstants.MinMaximumLinearSpeed is raised to that minimum. A negative value logs a warning and leaves the current value unchanged.