HingeJoint.angle Manual     Reference     Scripting  
Scripting > Runtime Classes > HingeJoint
HingeJoint.angle

var angle : float

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.

print(hingeJoint.angle);