Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


maxMotorTorque

The maximum force that can be applied to the Rigidbody2D at the joint to attain the target speed.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public float maxMotorTorque { get; set; }

Remarks

Additional Resources: Rigidbody2D class, JointMotor2D.motorSpeed.