C4 Engine
C4 Engine API Documentation

RigidBodyController::SetAngularVelocity

Defined in:  C4Physics.h
Sets the current angular velocity of a rigid body.
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

RigidBodyController::GetOriginalLinearVelocity

RigidBodyController::GetOriginalAngularVelocity