pub unsafe extern "C" fn PxScene_resetFiltering_mut(
    self_: *mut PxScene,
    actor: *mut PxActor
) -> bool
Expand description

Marks the object to reset interactions and re-run collision filters in the next simulation step.

This call forces the object to remove all existing collision interactions, to search anew for existing contact pairs and to run the collision filters again for found collision pairs.

The operation is supported for PxRigidActor objects only.

All persistent state of existing interactions will be lost and can not be retrieved even if the same collison pair is found again in the next step. This will mean, for example, that you will not get notified about persistent contact for such an interaction (see [PxPairFlag::eNOTIFY_TOUCH_PERSISTS]), the contact pair will be interpreted as newly found instead.

Lost touch contact reports will be sent for every collision pair which includes this shape, if they have been requested through [PxPairFlag::eNOTIFY_TOUCH_LOST] or #PxPairFlag::eNOTIFY_THRESHOLD_FORCE_LOST.

This is an expensive operation, don’t use it if you don’t have to.

Can be used to retrieve collision pairs that were killed by the collision filters (see [PxFilterFlag::eKILL])

It is invalid to use this method if the actor has not been added to a scene already.

It is invalid to use this method if PxActorFlag::eDISABLE_SIMULATION is set.

Do not use this method while the simulation is running.

Sleeping: Does wake up the actor.

True if success