Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

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

HingeJoint.angle

Switch to Manual
public float angle;

Description

The current angle in degrees of the joint relative to its rest position. (Read Only)

The rest angle between the bodies is always zero at the beginning of the simulation.