temporarily exclude a rigidBody from ray testing

Post Reply
ed_welch
Posts: 43
Joined: Wed Mar 04, 2015 6:16 pm

temporarily exclude a rigidBody from ray testing

Post by ed_welch »

I want to exclude a rigidBody from ray testing temporarily (I mean object is exluded from ray test for one call only).
Is there anyway to do this without calling removeBody and addBody?
I looked at using btOverlapFilterCallback, but that seems to be for preventing collisions, not ray testing.
Post Reply