Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


autoConfigureOffset

Should both the linearOffset and angularOffset be calculated automatically?
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public bool autoConfigureOffset { get; set; }

Remarks

When true, both the linearOffset and angularOffset properties will be calculated automatically to match the relative distance/angle between the two connected rigid-bodies. When false, the linearOffset and angularOffset properties can be configured manually.