文档

Unity Engine

Unity Engine

maxMotorTorque

The maximum force that can be applied to the Rigidbody2D at the joint to attain the target speed.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Remarks

Additional Resources: Rigidbody2D class, JointMotor2D.motorSpeed.