There is a bug in btManifoldResult.cpp at these lines:
Code: Select all
00112 //experimental feature info, for per-triangle material etc.
00113 btCollisionObject* obj0 = isSwapped? m_body1 : m_body0;
00114 btCollisionObject* obj1 = isSwapped? m_body0 : m_body1;
00115 (*gContactAddedCallback)(m_manifoldPtr->getContactPoint(insertIndex),obj0,m_partId0,m_index0,obj1,m_partId1,m_index1);
Please add a fix in which the those are swapped too.
Thanks,
Gerben