Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

JointTranslationLimits2D

struct in UnityEngine

/

Implemented in:UnityEngine.Physics2DModule

Description

Motion limits of a Rigidbody2D object along a SliderJoint2D.

Additional resources: Rigidbody2D class, SliderJoint2D class.

Properties

maxMaximum distance the Rigidbody2D object can move from the Slider Joint's anchor.
minMinimum distance the Rigidbody2D object can move from the Slider Joint's anchor.