HingeJoint:getAngle
EditReturns the current angle of the HingeJoint, relative to the rest position.
angle = HingeJoint:getAngle()
Arguments
None
Returns
Name | Type | Description |
angle | number | The hinge angle, in radians. |
Returns the current angle of the HingeJoint, relative to the rest position.
angle = HingeJoint:getAngle()
None
Name | Type | Description |
angle | number | The hinge angle, in radians. |