bug fix for pybullet_applyExternalForce where linkId wasn't actually being used in b3ApplyExternalForce call
This commit is contained in:
@@ -1238,7 +1238,7 @@ static PyObject* pybullet_applyExternalForce(PyObject* self, PyObject* args)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
command = b3ApplyExternalForceCommandInit(sm);
|
command = b3ApplyExternalForceCommandInit(sm);
|
||||||
b3ApplyExternalForce(command,objectUniqueId,-1,force,position, flags);
|
b3ApplyExternalForce(command, objectUniqueId, linkIndex, force, position, flags);
|
||||||
statusHandle = b3SubmitClientCommandAndWaitStatus(sm, command);
|
statusHandle = b3SubmitClientCommandAndWaitStatus(sm, command);
|
||||||
}
|
}
|
||||||
Py_INCREF(Py_None);
|
Py_INCREF(Py_None);
|
||||||
|
|||||||
Reference in New Issue
Block a user