Disabling PxController

How do you stop interactions with a PxController short of destroying it or writing filter code with custom flags?
Ive tried the disable simulation flag on the rigid dynamic belonging to it and removing the controllers actor from the scene but other controllers are still physically hitting it in the scene.
Id like to temporarily remove it from the simulation (disable it) and then enable it again a little later.

–>but other controllers are still physically hitting it in the scene.

Controller-controller collision relies on scene queries, not rigid body contacts. Try un-setting the eSCENE_QUERY_SHAPE flag on the controller shape.

Ill give it a try.

Sorry to dig up an old thread but i am having the same problem.

I am setting the PxController actor’s shape PxShapeFlag::eSCENE_QUERY_SHAPE to false and it still collides with other controllers.

The docs for this do state “The behavior upon manually altering this actor is undefined, you should primarily use it for reading const properties.”

Is there any other way apart from releasing the PxController and re-creating it to disable collisions?