Regular API function

simGetJointTargetVelocity / sim.getJointTargetVelocity

Description Retrieves the target linear/angular velocity of a non-spherical joint. See also sim.setJointTargetVelocity
C/C++
synopsis
simInt simGetJointTargetVelocity(simInt objectHandle,simFloat* targetVelocity)
C/C++
parameters
objectHandle: handle of the joint object
targetVelocity (output): target linear/angular velocity of the joint
C/C++
return value
-1 if operation was not successful
Lua
synopsis
float targetVelocity=sim.getJointTargetVelocity(int objectHandle)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
targetVelocity: target velocity of the joint.
Python
synopsis
float targetVelocity=sim.getJointTargetVelocity(int objectHandle)

<