BallJoint:setAnchor

Sets a new anchor point for the BallJoint.

BallJoint: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