Is there some appropriate method in PhysX for actor's "activation/deactivation" ?


For activation/deactivation of object’ collision, we need it to be an instant operation.
I thought PxScene::addActor/removeActor can be used but its cost can not be ignored.
Then I thought maybe I can use PxShapeFlag.

I wonder that if there is some better choice for it.

Thanks for any advise.