applied patch for Issue 68

// Ensure that gContactProcessedCallback is called for concave shapes.
        if (getLastManifold())
            m_resultOut->refreshContactPoints();
This commit is contained in:
Erwin Coumans committed 2018-12-22 17:06:57 -08:00
1 parent e5fb1aa1d5
commit 83213da154
1 file changed
+6
@@ -822,6 +822,12 @@ void btGImpactCollisionAlgorithm::processCollision(const btCollisionObjectWrappe
gimpact_vs_shape(body1Wrap, body0Wrap, gimpactshape1, body0Wrap->getCollisionShape(), true);
}
// Ensure that gContactProcessedCallback is called for concave shapes.
if (getLastManifold())
{
m_resultOut->refreshContactPoints();
}
}
btScalar btGImpactCollisionAlgorithm::calculateTimeOfImpact(btCollisionObject* body0, btCollisionObject* body1, const btDispatcherInfo& dispatchInfo, btManifoldResult* resultOut)