fix PyBullet.applyExternalTorque for links (instead of base)
This commit is contained in:
1 parent
e86d11f7b9
commit
1ec24a0853
1 file changed
+1
-1
@@ -7599,7 +7599,7 @@ static PyObject* pybullet_applyExternalTorque(PyObject* self, PyObject* args, Py
|
||||
b3SharedMemoryStatusHandle statusHandle;
|
||||
b3SharedMemoryCommandHandle command =
|
||||
b3ApplyExternalForceCommandInit(sm);
|
||||
b3ApplyExternalTorque(command, objectUniqueId, -1, torque, flags);
|
||||
b3ApplyExternalTorque(command, objectUniqueId, linkIndex, torque, flags);
|
||||
statusHandle = b3SubmitClientCommandAndWaitStatus(sm, command);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user