From 7074c8d8ed5cbb850af65c4f91dab76c87190544 Mon Sep 17 00:00:00 2001 From: "chappuis.daniel" Date: Fri, 5 Feb 2010 14:38:02 +0000 Subject: [PATCH] git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@253 92aac97c-a6ce-11dd-a772-7fcde58d38e6 --- sources/reactphysics3d/collision/CollisionDetection.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sources/reactphysics3d/collision/CollisionDetection.cpp b/sources/reactphysics3d/collision/CollisionDetection.cpp index 7db7603a..67260130 100644 --- a/sources/reactphysics3d/collision/CollisionDetection.cpp +++ b/sources/reactphysics3d/collision/CollisionDetection.cpp @@ -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);