PxRigidBodyExt_computeMassPropertiesFromShapes

Function PxRigidBodyExt_computeMassPropertiesFromShapes 

Source
pub unsafe extern "C" fn PxRigidBodyExt_computeMassPropertiesFromShapes(
    shapes: *const *const PxShape,
    shapeCount: u32,
) -> PxMassProperties
Expand description

Compute the mass, inertia tensor and center of mass from a list of shapes.

The mass properties from the combined shapes.