RigidBodyController::SetAngularVelocity
Defined in:
Sets the current angular velocity of a rigid body.
C4Physics.h
Prototype
void SetAngularVelocity(const Bivector3D& velocity);
Parameters
velocity |
The new angular velocity, in world-space coordinates. |
Description
The SetAngularVelocity
function sets the current angular velocity for a rigid body to that specified by the velocity
parameter. The velocity vector is specified in world-space coordinates, and it is measured in radians per second (rad/s).
See Also
RigidBodyController::GetAngularVelocity
RigidBodyController::GetLinearVelocity
RigidBodyController::SetLinearVelocity