Function physx_sys::PxScene_removeActor_mut
source · pub unsafe extern "C" fn PxScene_removeActor_mut(
self_: *mut PxScene,
actor: *mut PxActor,
wakeOnLostTouch: bool
)
Expand description
Removes an actor from this scene.
If the actor is not part of this scene (see [PxActor::getScene
]), the call is ignored and an error is issued.
You can not remove individual articulation links (see PxArticulationLink
) from the scene. Use #removeArticulation() instead.
If the actor is a PxRigidActor then all assigned PxConstraint objects will get removed from the scene automatically.
If the actor is in an aggregate it will be removed from the aggregate.