Fix convex cast normals for btScaledBvhTriangleShape: normals were already in world space

See Issue 371 THere seems to be some other issues, need to get a reproduction case.
This commit is contained in:
erwin.coumans@gmail.com
2013-11-26 18:44:06 +00:00
parent 5910b42d8d
commit 1362b6ab48

View File

@@ -770,7 +770,7 @@ void btCollisionWorld::objectQuerySingleInternal(const btConvexShape* castShape,
hitPointLocal,
hitFraction);
bool normalInWorldSpace = false;
bool normalInWorldSpace = true;
return m_resultCallback->addSingleResult(convexResult,normalInWorldSpace);
}