ドキュメント

Unity Engine

Unity Engine

linearOffset

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

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public Vector2 linearOffset { get; set; }

Remarks

The joint will attempt to maintain this linear offset between the connected Rigidbody2D using a maximum force specified by RelativeJoint2D.maxForce.