Regular API function

simGetJointMode

Description Retrieves the operation mode of a joint. See also simSetJointMode.
C synopsis simInt simGetJointMode(simInt jointHandle,simInt* options)
C parameters
jointHandle: handle of the joint object
options (output): bit-coded: if bit0 is set (1), the joint operates in hybrid mode.
C return value
-1 if operation was not successful, otherwise the joint mode.
Lua synopsis number jointMode,number options=simGetJointMode(number jointHandle)
Lua parameters
Same as C-function
Lua return values
Same as C-function. See also the boolean operators in Lua.

All regular API functions on one page