Function physx_sys::PxRigidActor_getConstraints
source · pub unsafe extern "C" fn PxRigidActor_getConstraints(
self_: *const PxRigidActor,
userBuffer: *mut *mut PxConstraint,
bufferSize: u32,
startIndex: u32
) -> u32
Expand description
Retrieve all the constraint shader pointers belonging to the actor.
You can retrieve the number of constraint shader pointers by calling getNbConstraints
Note: Removing constraint shaders with PxConstraint::release
will invalidate the pointer of the released constraint.
Number of constraint shader pointers written to the buffer.