Merge pull request #464 from benelot/master

Fix the Bullet Raycast sample. Closes #450.
This commit is contained in:
erwincoumans
2015-10-09 10:16:07 -07:00

View File

@@ -126,7 +126,7 @@ void RaytestDemo::castRays()
btCollisionWorld::ClosestRayResultCallback closestResults(from,to);
closestResults.m_flags |= btTriangleRaycastCallback::kF_FilterBackfaces;
m_dynamicsWorld->rayTest(from,to,closestResults);
if (closestResults.hasHit())
{