Function physx_sys::PxScene_removeAggregate_mut
source · pub unsafe extern "C" fn PxScene_removeAggregate_mut(
self_: *mut PxScene,
aggregate: *mut PxAggregate,
wakeOnLostTouch: bool
)
Expand description
Removes an aggregate from this scene.
If the aggregate is not part of this scene (see [PxAggregate::getScene
]), the call is ignored and an error is issued.
If the aggregate contains actors, those actors are removed from the scene as well.