PhysicsWorld.SetMaxLinearSpeed(float) Method
Definition¶
Namespace: Brine2D.Physics
Sets the maximum linear speed (pixels/s) a body can reach. Box2D clamps body velocity to this value each step. Useful as a safety cap in particle-heavy or high-impulse scenes. Must be greater than zero.
public void SetMaxLinearSpeed(float maxSpeed);
Parameters¶
maxSpeed System.Single