C4 Engine
C4 Engine API Documentation

PhysicsController::GetMaxLinearSpeed

Defined in:  C4Physics.h
Returns the maximum linear speed for all rigid bodies.
Prototype

float GetMaxLinearSpeed(voidconst;

Description
The GetMaxLinearSpeed function returns the maximum linear speed, measured in meters per second (m/s), that is allowed for all rigid bodies. If the magnitude of a rigid body's linear velocity ever exceeds this value, then is it clamped at the end of the simulation step.
See Also

PhysicsController::SetMaxLinearSpeed

PhysicsController::GetMaxAngularSpeed

PhysicsController::SetMaxAngularSpeed