simGetJointTargetForce

Retrieves the force or torque that a joint can exert

C++ synopsis

int simGetJointTargetForce(int jointHandle, double* forceOrTorque)

Arguments

  • jointHandle: handle of the joint.
  • forceOrTorque: the maximum force or torque the joint can apply. The sign indicates the desired movement direction.

Return

  • -1 if operation was not successful. .


See also: