Page 1 of 1

Some questions about the btCollisionWorld::ContactResultCall

Posted: Sat Aug 23, 2014 7:29 am
by ptLeng
Hi all, I want to ask a simple question. In the demo "CollisionInterfaceDemo", the function "addSingleResult" is called when the two objects collide. I wondered why cp.getPositionWorldOnA() and cp.getPositionWorldOnB() get different points when I called

Code: Select all

collisionWorld->contactPairTest(&objects[0],&objects[1], renderCallback).