Regular API function

simSetJointMode / sim.setJointMode

Description Sets the operation mode of a joint. Might have as side-effect the change of additional properties of the joint. See also sim.getJointMode and sim.setJointDependency.
C synopsis simInt simSetJointMode(simInt jointHandle,simInt jointMode,simInt options)
C parameters
jointHandle: handle of the joint object
jointMode: a joint mode value
options: not used. Set to 0.
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
none