HingeJoint:getAxis

Edit

Returns the axis of the hinge, in world space.

x, y, z = HingeJoint:getAxis()

Arguments

None

Returns

NameTypeDescription
xnumber The x component of the axis.
ynumber The y component of the axis.
znumber The z component of the axis.

See also