Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

JointAngleLimits2D

struct in UnityEngine

Switch to Manual

Description

Angular limits on the rotation of a Rigidbody2D object around a HingeJoint2D.

See Also: Rigidbody2D class, HingeJoint2D class.

Variables

maxUpper angular limit of rotation.
minLower angular limit of rotation.