Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


autoConfigureTarget

Should the target be calculated automatically?
Read time 1 minuteLast updated 4 days ago

Definition

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

Remarks

When true, the target property will be calculated automatically to match the current Rigidbody2D position. When false, the target property is not modified.
Additional Resources: TargetJoint2D.target.