C4 Engine
C4 Engine API Documentation

RigidBodyController::GetOriginalLinearVelocity

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

const Vector3D& GetOriginalLinearVelocity(voidconst;

Description
The GetOriginalLinearVelocity function returns the linear 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 meters per second (m/s).
See Also

RigidBodyController::GetOriginalAngularVelocity

RigidBodyController::GetLinearVelocity

RigidBodyController::GetAngularVelocity