pub unsafe extern "C" fn PxConvexMesh_getMassInformation(
    self_: *const PxConvexMesh,
    mass: *mut f32,
    localInertia: *mut PxMat33,
    localCenterOfMass: *mut PxVec3
)
Expand description

Returns the mass properties of the mesh assuming unit density.

The following relationship holds between mass and volume:

mass = volume * density

The mass of a unit density mesh is equal to its volume, so this function returns the volume of the mesh.

Similarly, to obtain the localInertia of an identically shaped object with a uniform density of d, simply multiply the localInertia of the unit density mesh by d.