C4 Engine
C4 Engine API Documentation

RigidBodyController::GetLinearVelocity

Defined in:  C4Physics.h
Returns the current linear velocity of a rigid body.
Prototype

const Vector3D& GetLinearVelocity(voidconst;

Description
The GetLinearVelocity function returns the current linear velocity for a rigid body in world-space coordinates, measured in meters per second (m/s).
See Also

RigidBodyController::SetLinearVelocity

RigidBodyController::GetAngularVelocity

RigidBodyController::SetAngularVelocity

RigidBodyController::GetOriginalLinearVelocity

RigidBodyController::GetOriginalAngularVelocity

RigidBodyController::CalculateWorldPositionVelocity