기술 자료

Unity Engine

Unity Engine

maxTorque

The maximum torque that can be generated when trying to maintain the friction joint constraint.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

Remarks

The joint constantly tries to reduce the ::Rigidbody2D::angularVelocity using the maximum torque. Because you can use very high torque limit, you can essentially reduce an objects rotation to almost zero.
Additional Resources: FrictionJoint2D.maxForce, ::Rigidbody2D::angularVelocity.