
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
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=sim.setJointMode(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
|