C4 Engine Terathon Software C4 Engine API Documentation

• Physics Manager

API Links
Developer Links

RigidBodyController::GetOriginalAngularVelocity

Defined in:  C4Physics.h
Returns the angular velocity that a rigid body had at the beginning of the simulation step.
Prototype

const Vector3D& GetOriginalAngularVelocity(voidconst;

Description
The GetOriginalAngularVelocity function returns the angular velocity that a rigid body had at the beginning of the most recent simulation step, before any contact forces were applied. The velocity is returned in world-space coordinates, and it's measured in radians per second (rad/s).
See Also

RigidBodyController::GetOriginalLinearVelocity

RigidBodyController::GetLinearVelocity

RigidBodyController::GetAngularVelocity