HingeJoint:setAnchor

Sets a new anchor point for the HingeJoint.

HingeJoint:setAnchor(x, y, z)

Arguments

NameTypeDescription
xnumber The x coordinate of the anchor point, in world coordinates.
ynumber The y coordinate of the anchor point, in world coordinates.
znumber The z coordinate of the anchor point, in world coordinates.

Returns

Nothing

See also