HingeJoint:getAngle

Get 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

NameTypeDescription
anglenumberThe hinge angle.

See also