Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

HingeJoint2D.referenceAngle

Switch to Manual
public float referenceAngle;

Description

The angle (in degrees) referenced between the two bodies used as the constraint for the joint.