Commit ba466e33 authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

Fix contact point order in MeshShapeCollisionTraversalNode

parent 51634b27
......@@ -235,11 +235,11 @@ public:
static const Transform3f Id;
collision =
nsolver->shapeTriangleInteraction(*(this->model2), this->tf2, p1, p2, p3,
Id , distance, c1, c2, normal);
Id , distance, c2, c1, normal);
} else {
collision =
nsolver->shapeTriangleInteraction(*(this->model2), this->tf2, p1, p2, p3,
this->tf1, distance, c1, c2, normal);
this->tf1, distance, c2, c1, normal);
}
if(collision) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment