Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

RelativeJoint2D.linearOffset

Switch to Manual
public Vector2 linearOffset;

Description

The current linear offset between the Rigidbody2D that the joint connects.

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

Additional resources: maxForce, maxTorque.