sim.getJointTargetForce

Retrieves the force or torque that a joint can exert

Synopsis

float forceOrTorque = sim.getJointTargetForce(int jointHandle) float forceOrTorque = sim.getJointTargetForce(int jointHandle)

Arguments

  • jointHandle: handle of the joint

Return values

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


See also: