Collider:setPosition
EditSets the position of the Collider.
Set the position of the Collider using numbers.
Arguments
Name | Type | Description |
x | number | The x position of the Collider, in meters. |
y | number | The y position of the Collider, in meters. |
z | number | The z position of the Collider, in meters. |
Returns
Nothing
Set the position of the Collider using a vector.
Arguments
Name | Type | Description |
position | Vec3 | The position of the Collider, in meters. |
Returns
Nothing