Collider:setPosition

Sets the position of the Collider.

Collider:setPosition(x, y, z)

Arguments

NameTypeDescription
xnumberThe x position of the Collider, in meters.
ynumberThe y position of the Collider, in meters.
znumberThe z position of the Collider, in meters.

Returns

Nothing

See also