HingeJoint:getAngle
EditGet the angle between the two colliders attached to the HingeJoint. When the joint is created or when the anchor or axis is set, the current angle is the new "zero" angle.
angle = HingeJoint:getAngle()
Arguments
None
Returns
Name | Type | Description |
angle | number | The hinge angle, in radians. |
See also
HingeJoint