internalSetTemporaryCollisionShape necessary?

paul.dubois
Posts: 10
Joined: Thu May 20, 2010 10:45 pm

internalSetTemporaryCollisionShape necessary?

Post by paul.dubois »

I'm looking at issue 25 now. I notice that rayTestSingle mutates the passed collisionObject by calling internalSetTemporaryCollisionShape. Is this still necessary any more? It looks like the btCompoundShape recursive case already explicitly passes down all the information it needs through collisionShape and colObjWorldTransform. This makes rayTestSingle (and objectQuerySingle) non threadsafe.