ドキュメント

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 分最終更新 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.