Regular API function

simGetJointMode / sim.getJointMode

Description Retrieves the operation mode of a joint. See also sim.setJointMode.
C/C++
synopsis
simInt simGetJointMode(simInt jointHandle,simInt* options)
C/C++
parameters
jointHandle: handle of the joint object
options (output): not used
C/C++
return value
-1 if operation was not successful, otherwise the joint mode.
Lua synopsis int jointMode=sim.getJointMode(int jointHandle)
Lua parameters
Similar to the C-function counterpart
Lua return values
Similar to the C-function counterpart.
Python synopsis int jointMode=sim.getJointMode(int jointHandle)