Regular API function

simSetJointMode / sim.setJointMode

Description Sets the operation mode of a joint. See also sim.getJointMode and sim.setJointDependency.
C/C++
synopsis
simInt simSetJointMode(simInt jointHandle,simInt jointMode,simInt options)
C/C++
parameters
jointHandle: handle of the joint object
jointMode: a joint mode value
options: not used. Set to 0.
C/C++
return value
-1 if operation was not successful
Lua
synopsis
sim.setJointMode(int jointHandle,int jointMode)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Python
synopsis
sim.setJointMode(int jointHandle,int jointMode)