Collider:setPosition

Sets the position of the Collider.

Collider:setPosition(x, y, z)

Arguments

NameTypeDescription
xnumber The x position of the Collider, in meters.
ynumber The y position of the Collider, in meters.
znumber The z position of the Collider, in meters.

Returns

Nothing

See also