Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

JointMotor2D.maxMotorTorque

var maxMotorTorque: float;
float maxMotorTorque;
maxMotorTorque as float

Description

The maximum force that can be applied to the Rigidbody2D at the joint to attain the target speed.

See Also: Rigidbody2D class, motorSpeed.