Use the correct structure in the PhysicsServerCommandProcessor::processRequestRaycastIntersectionsCommand method

This commit is contained in:
Pandhariix committed 2019-02-28 18:24:32 +01:00
1 parent ad4efa4265
commit 4801425910
1 file changed
+1 -1
@@ -5403,7 +5403,7 @@ bool PhysicsServerCommandProcessor::processRequestRaycastIntersectionsCommand(co
int linkIndex = -1;
if (bodyHandle->m_multiBody)
{
int linkIndex = clientCmd.m_userDebugDrawArgs.m_parentLinkIndex;
int linkIndex = clientCmd.m_requestRaycastIntersections.m_parentLinkIndex;
if (linkIndex == -1)
{
tr = bodyHandle->m_multiBody->getBaseWorldTransform();