Regular API function

simGetJointDependency / sim.getJointDependency

Description Retrieves joint dependency information, when the joint is in dependent mode. See also sim.setJointDependency and sim.getJointMode.
C/C++
synopsis
simInt simGetJointDependency(simInt jointHandle,simInt* masterJointHandle,simFloat* offset,simFloat* multCoeff)
C/C++
parameters
jointHandle: handle of this joint, i.e. the slave
masterJointHandle: handle of the joint the slave depends on, or -1 if the joint is not dependent.
offset: the offset in equation slave=offset+master*multCoeff
multCoeff: the coeff in equation slave=offset+master*multCoeff
C/C++
return value
-1 if operation was not successful
Lua
synopsis
int masterJointHandle,float offset,float multCoeff=sim.getJointDependency(int jointHandle)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Similar to the C-function counterpart
Python
synopsis
int masterJointHandle,float offset,float multCoeff=sim.getJointDependency(int jointHandle)