Fixed a collision check bug with CCD

This commit is contained in:
Teemu Patana
2018-05-02 20:22:12 +03:00
parent 78629e1c6c
commit cfa3a6d2aa

View File

@@ -842,6 +842,9 @@ public:
btCollisionObject* otherObj = (btCollisionObject*) proxy0->m_clientObject;
if(!m_dispatcher->needsCollision(m_me, otherObj))
return false;
//call needsResponse, see http://code.google.com/p/bullet/issues/detail?id=179
if (m_dispatcher->needsResponse(m_me,otherObj))
{