PhysicsController::SetMaxAngularSpeed
Defined in:
Sets the maximum angular speed for all rigid bodies.
C4Physics.h
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