[DEBUG] correct the collision Detection

This commit is contained in:
Edouard DUPIN 2017-10-02 15:57:39 +02:00
parent 8d77c326de
commit 619246407c

View File

@ -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() {