Description
|
Retrieves the target linear/angular position of a joint. See also sim.setJointTargetPosition |
C/C++ synopsis
|
simInt simGetJointTargetPosition(simInt objectHandle,simFloat* targetPosition)
|
C/C++ parameters |
objectHandle: handle of the joint object
targetPosition (output): target position of the joint
|
C/C++ return value
|
-1 if operation was not successful
|
Lua synopsis
|
float targetPosition=sim.getJointTargetPosition(int objectHandle)
|
Lua parameters |
Similar to the C-function counterpart
|
Lua return values
|
targetPosition: target position of the joint
|
Python synopsis |
float targetPosition=sim.getJointTargetPosition(int objectHandle) |