ドキュメント

Unity Engine

Unity Engine

angularOffset

The current angular offset between the Rigidbody2D that the joint connects.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Remarks

The joint will attempt to maintain this angular offset between the connected Rigidbody2D using a maximum torque specified by RelativeJoint2D.maxTorque.