diff options
author | Pandhariix <mbusy.pro@gmail.com> | 2019-02-28 18:24:32 +0100 |
---|---|---|
committer | Pandhariix <mbusy.pro@gmail.com> | 2019-02-28 18:24:32 +0100 |
commit | 48014259105838bcdc1d7dd26f2edd6443da2e1c (patch) | |
tree | 20f5b99f98224b9dc6339464d150c98279e4c470 | |
parent | ad4efa4265473734eb23962c46cb079a5ceea181 (diff) | |
download | bullet3-48014259105838bcdc1d7dd26f2edd6443da2e1c.tar.gz |
Use the correct structure in the PhysicsServerCommandProcessor::processRequestRaycastIntersectionsCommand method
-rw-r--r-- | examples/SharedMemory/PhysicsServerCommandProcessor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/SharedMemory/PhysicsServerCommandProcessor.cpp b/examples/SharedMemory/PhysicsServerCommandProcessor.cpp index e60828649..50bb4adef 100644 --- a/examples/SharedMemory/PhysicsServerCommandProcessor.cpp +++ b/examples/SharedMemory/PhysicsServerCommandProcessor.cpp @@ -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(); |