
simSetJointTargetForce
Sets the force or torque that a joint can exert
C++ synopsis
int simSetJointTargetForce(int objectHandle, double forceOrTorque, bool signedValue)
Arguments
- objectHandle: handle of the joint object
- forceOrTorque: maximum force or torque the joint can exert
- signedValue: if true, the sign of the force/torque indicates the desired movement direction
Return
- -1 if operation was not successful
See also:
|