autoConfigureDistance
Should the distance be calculated automatically?
Read time 1 minuteLast updated 8 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: SpringJoint2D.distance, AnchoredJoint2D.anchor, AnchoredJoint2D.connectedAnchor.