pub unsafe extern "C" fn PxRigidActor_getShapes(
    self_: *const PxRigidActor,
    userBuffer: *mut *mut PxShape,
    bufferSize: u32,
    startIndex: u32
) -> u32
Expand description

Retrieve all the shape pointers belonging to the actor.

These are the shapes used by the actor for collision detection.

You can retrieve the number of shape pointers by calling getNbShapes

Note: Removing shapes with PxShape::release will invalidate the pointer of the released shape.

Number of shape pointers written to the buffer.