Description
|
Retrieves the intrinsic target velocity of a non-spherical joint. See also simSetJointTargetVelocity. |
C synopsis
|
simInt simGetJointTargetVelocity(simInt objectHandle,simFloat* targetVelocity) |
C parameters |
objectHandle: handle of the joint object
targetVelocity (output): target velocity of the joint (linear or angular velocity depending on the joint-type).
|
C return value
|
-1 if operation was not successful. In a future release, a more differentiated return value might be available
|
Lua synopsis
|
number targetVelocity=simGetJointTargetVelocity(number objectHandle) |
Lua parameters |
Same as C-function
|
Lua return values
|
targetVelocity: target velocity of the joint, or -1 in case of an error.
|