git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@253 92aac97c-a6ce-11dd-a772-7fcde58d38e6
This commit is contained in:
parent
4d5cbcca56
commit
7074c8d8ed
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user