sim.setJointTargetForce

Sets the force or torque that a joint can exert

Synopsis

sim.setJointTargetForce(int objectHandle, float forceOrTorque) sim.setJointTargetForce(int objectHandle, float forceOrTorque, bool signedValue = true)

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


See also: