Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


limits

Restrictions on how far the joint can slide in each direction along the line.
Read time 1 minuteLast updated 4 days ago

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: _angle