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 7 days ago
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public float maximumLinearSpeed { readonly get; set; }
Remarks
A value below PhysicsConstants.MinMaximumLinearSpeed is raised to that minimum. See PhysicsWorld.maximumLinearSpeed.