기술 자료

Unity Engine

Unity Engine

maxDistanceOnly

Whether to maintain a maximum distance only or not. If not then the absolute distance will be maintained instead.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

Remarks

When true, only the maximum distance is maintained. When false, the absolute distance is maintained.
Additional Resources: DistanceJoint2D.distance.