Regular API function

simGetJointMaxForce / sim.getJointMaxForce

Description Deprecated. See sim.getJointTargetForce instead.
C/C++
synopsis
int simGetJointMaxForce(int jointHandle,double* forceOrTorque)
C/C++
parameters
jointHandle: handle of the joint.
forceOrTorque: the maximum force or torque the joint can apply.
C/C++
return value
-1 if operation was not successful. .
Lua
synopsis
float forceOrTorque=sim.getJointMaxForce(int jointHandle)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Similar to the C-function counterpart
Python
synopsis
float forceOrTorque=sim.getJointMaxForce(int jointHandle)