C4 Engine Terathon Software C4 Engine API Documentation

• Physics Manager

API Links
Developer Links

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