mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-07-30 18:09:18 +00:00
we should use the m_jointMotorForceMultiDof which is indexed by degree
of freedom.
This commit is contained in:
@@ -7626,7 +7626,7 @@ bool PhysicsServerCommandProcessor::processRequestActualStateCommand(const struc
|
||||
}
|
||||
for (int d = 0; d < mb->getLink(l).m_dofCount; d++)
|
||||
{
|
||||
stateDetails->m_jointMotorForce[totalDegreeOfFreedomU] = 0;
|
||||
stateDetails->m_jointMotorForceMultiDof[totalDegreeOfFreedomU] = 0;
|
||||
|
||||
if (mb->getLink(l).m_jointType == btMultibodyLink::eSpherical)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user