C4 Engine
C4 Engine API Documentation

PhysicsController::SetMaxAngularSpeed

Defined in:  C4Physics.h
Sets the maximum angular speed for all rigid bodies.
Prototype

void SetMaxAngularSpeed(float speed);

Parameters
speed The new maximum angular speed, in radians per second (rad/s).
Description
The SetMaxAngularSpeed function sets the maximum angular speed, measured in radians per second (rad/s), that is allowed for all rigid bodies to the value specified by the speed parameter. If the magnitude of a rigid body's angular velocity ever exceeds this value, then is it clamped at the end of the simulation step.
See Also

PhysicsController::GetMaxAngularSpeed

PhysicsController::GetMaxLinearSpeed

PhysicsController::SetMaxLinearSpeed