ドキュメント

Unity Engine

Unity Engine

limits

Restrictions on how far the joint can slide in each direction along the line.
読み終わるまでの所要時間 1 分最終更新 21日前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public JointTranslationLimits2D limits { get; set; }

Remarks

The line along which the joint can slide is specified by its angle (relative to the coordinate system) and optionally by endpoint limits along its length.
Additional Resources: SliderJoint2D.angle