Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


autoConfigureDistance

Should the distance be calculated automatically?
Read time 1 minuteLast updated 6 days ago

Definition

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

Remarks

When true, the
distance
property will be calculated automatically to match the distance between the
anchor
and
connectedAnchor
properties. When false, the distance can be configured using the
distance
property.
Additional Resources: _distance, _anchor, _connectedAnchor