기술 자료

Unity Engine

Unity Engine

autoConfigureOffset

Should both the linearOffset and angularOffset be calculated automatically?
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

Remarks

When true, both the
linearOffset
and
angularOffset
properties will be calculated automatically to match the relative distance/angle between the two connected rigid-bodies. When false, the
linearOffset
and
angularOffset
properties can be configured manually.