Regular API function

simSetJointTargetVelocity / sim.setJointTargetVelocity

Description Sets the intrinsic target velocity of a non-spherical joint. This command makes only sense when the joint mode is torque/force mode: the dynamics functionality and the joint motor have to be enabled (position control should however be disabled). See also sim.getJointTargetVelocity.
C/C++
synopsis
simInt simSetJointTargetVelocity(simInt objectHandle,simFloat targetVelocity)
C/C++
parameters
objectHandle: handle of the joint object
targetVelocity: target velocity of the joint (linear or angular velocity depending on the joint-type).
C/C++
return value
-1 if operation was not successful
Lua synopsis sim.setJointTargetVelocity(int objectHandle,float targetVelocity)
Lua parameters
Similar to the C-function counterpart
Lua return values
Python synopsis sim.setJointTargetVelocity(int objectHandle,float targetVelocity)