git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@253 92aac97c-a6ce-11dd-a772-7fcde58d38e6

This commit is contained in:
chappuis.daniel 2010-02-05 14:38:02 +00:00
parent 4d5cbcca56
commit 7074c8d8ed

View File

@ -67,6 +67,7 @@ bool CollisionDetection::computeCollisionDetection(CollisionWorld* collisionWorl
// Use the narrow-phase algorithm to check if the two bodies really collide
if(narrowPhaseAlgorithm->testCollision(&obb1, &obb2, &contact)) {
assert(contact != 0);
existsCollision = true;
// Add the new collision contact into the collision world
collisionWorld->addConstraint(contact);