C4 Engine
C4 Engine API Documentation

RigidBodyController::GetWorldCenterOfMass

Defined in:  C4Physics.h
Returns the world-space center of mass of a rigid body.
Prototype

const Point3D& GetWorldCenterOfMass(voidconst;

Description
The GetWorldCenterOfMass function returns the center of mass of a rigid body in world-space coordinates.
See Also

RigidBodyController::GetBodyCenterOfMass

RigidBodyController::GetBodyVolume

RigidBodyController::GetBodyMass