ドキュメント

Unity Engine

Unity Engine

upperAngleLimit

Get the upper angle limit, in degrees.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public float upperAngleLimit { get; set; }

Remarks

If the value set here crosses the opposite bound, the two are swapped so the lower bound stays at or below the upper bound; this is silent and never warns. When changing both bounds from script, set them together through the joint definition, otherwise the order of the two assignments can leave them swapped.