I posted about pressure plates earlier: http://www.bulletphysics.org/Bullet/php ... f=9&t=9270
I tried ContactTest and ContactPairTest between 2 btRigidBody that are linked by a constraint, based on the tutorial on the wiki: http://bulletphysics.org/mediawiki-1.5. ... d_Triggers
I did put
Code: Select all
virtual bool needsCollision(btBroadphaseProxy* proxy) const {
return true;
}
However, it does work with other bodies.
Edit: I removed the constraint between the 2 bodies and the ContactPairTest/ContactTest does work once the constraint is removed.
So It's clearly related to the constraint blocking the ContactTest even if I did force needsCollision to true.