Function physx_sys::PxBroadPhaseRegions_removeRegion_mut
source · pub unsafe extern "C" fn PxBroadPhaseRegions_removeRegion_mut(
self_: *mut PxBroadPhaseRegions,
handle: u32
) -> bool
Expand description
Removes a broad-phase region.
If the region still contains objects, and if those objects do not overlap any region any more, they are not automatically removed from the simulation. Instead, the PxBroadPhaseCallback::onObjectOutOfBounds notification is used for each object. Users are responsible for removing the objects from the simulation if this is the desired behavior.
If the handle is invalid, or if a valid handle is removed twice, an error message is sent to the error stream.
True if success