Function physx_sys::PxRigidActor_detachShape_mut
source · pub unsafe extern "C" fn PxRigidActor_detachShape_mut(
self_: *mut PxRigidActor,
shape: *mut PxShape,
wakeOnLostTouch: bool
)
Expand description
Detach a shape from an actor.
This will also decrement the reference count of the PxShape, and if the reference count is zero, will cause it to be deleted.
Sleeping: Does NOT wake the actor up automatically.