From 619246407ccd2646735f41654eed30b75f35cc0a Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Mon, 2 Oct 2017 15:57:39 +0200 Subject: [PATCH] [DEBUG] correct the collision Detection --- ephysics/collision/CollisionDetection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ephysics/collision/CollisionDetection.cpp b/ephysics/collision/CollisionDetection.cpp index 78f3ea0..c09be17 100644 --- a/ephysics/collision/CollisionDetection.cpp +++ b/ephysics/collision/CollisionDetection.cpp @@ -340,7 +340,7 @@ void CollisionDetection::createContact(OverlappingPair* overlappingPair, const C // Add the overlapping pair int32_to the set of pairs in contact during narrow-phase overlappingpairid pairId = OverlappingPair::computeID(overlappingPair->getShape1(), overlappingPair->getShape2()); - m_contactOverlappingPairs[pairId] = overlappingPair; + m_contactOverlappingPairs.set(pairId, overlappingPair); } void CollisionDetection::addAllContactManifoldsToBodies() {