LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

JointAngleLimits2D

struct in UnityEngine

Description

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

See Also: Rigidbody2D class, HingeJoint2D class.

Properties

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