C4 Engine
C4 Engine API Documentation

RigidBodyController::GetBodyVolume

Defined in:  C4Physics.h
Returns the volume of a rigid body.
Prototype

float GetBodyVolume(voidconst;

Description
The GetBodyVolume function returns the total volume occupied by all of the shapes composing a rigid body in cubic meters (m3). If any shapes overlap, then the full volume of each shape is included in the total volume for the rigid body.
See Also

RigidBodyController::GetBodyMass