HingeJoint:setAnchor

Sets a new anchor point for the HingeJoint.

HingeJoint:setAnchor(x, y, z)

Arguments

NameTypeDescription
xnumberThe x coordinate of the anchor point, in world coordinates.
ynumberThe y coordinate of the anchor point, in world coordinates.
znumberThe z coordinate of the anchor point, in world coordinates.

Returns

Nothing

See also