Regular API function

simSetJointMode

Description Sets the operation mode of a joint. Might have as side-effect the change of additional properties of the joint. See also simGetJointMode.
C synopsis simInt simSetJointMode(simInt jointHandle,simInt jointMode,simInt options)
C parameters
jointHandle: handle of the joint object
jointMode: a joint mode value
options: bit-coded. For now only bit 0 is used (if set (1), the joint operates in hybrid mode)
C return value
-1 if operation was not successful. In a future release, a more differentiated return value might be available
Lua synopsis number result=simSetJointMode(number jointHandle,number jointMode,number options)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page