RigidBodyController::GetBodyMass
Defined in:
Returns the mass of a rigid body.
C4Physics.h
Prototype
float GetBodyMass(void) const;
Description
The GetBodyMass
function returns the total mass of the shapes composing a rigid body in metric tons (i.e., in thousands of kilograms). If any shapes overlap, then the full mass of each shape is included in the total mass for the rigid body.
See Also