Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


autoAnchorB

When set, PhysicsFixedJointDefinition.localAnchorB is recomputed from the bodies' current placement at create so both anchor frames coincide in world space.
Read time 1 minuteLast updated 8 days ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public bool autoAnchorB { readonly get; set; }

Remarks

This removes the solver jolt from an inconsistent initial configuration. It is applied at create only; the authored PhysicsFixedJointDefinition.localAnchorB is ignored while this is set.