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:
@@ -770,7 +770,7 @@ void btCollisionWorld::objectQuerySingleInternal(const btConvexShape* castShape,
|
|||||||
hitPointLocal,
|
hitPointLocal,
|
||||||
hitFraction);
|
hitFraction);
|
||||||
|
|
||||||
bool normalInWorldSpace = false;
|
bool normalInWorldSpace = true;
|
||||||
|
|
||||||
return m_resultCallback->addSingleResult(convexResult,normalInWorldSpace);
|
return m_resultCallback->addSingleResult(convexResult,normalInWorldSpace);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user