기술 자료

Unity Engine

Download Unity

Unity Engine

autoAnchorA

When set, PhysicsRelativeJointDefinition.localAnchorA is recomputed from the bodies' current placement at create so both anchor frames coincide in world space.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

Remarks

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