HingeJoint:setAnchor

Edit

Sets a new anchor point for the HingeJoint.



Sets the anchor point using numbers.

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

Sets the anchor point using a vector.

Arguments

NameTypeDescription
anchorVec3 The anchor point, in world coordinates.

Returns

Nothing

See also