I'm trying to picking some object with rayTest
method of BulletPhysics. The problem is my stage is surrounded with walls (btStaticPlane
) and the target objects (btSphereShape
) are in there. And I'm trying to pick with a line from the outside of the surrounding box.
So I have to exclude the planes from rayTest
. How can I do this?