기술 자료

Unity Engine

Unity Engine

limits

Restrictions on how far the joint can slide in each direction along the line.
읽는 시간 1분최근 업데이트: 한 달 전

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.