Shape:setPosition
EditSet the position of the Shape relative to its Collider.
Set the position of the Shape using numbers.
Arguments
Name | Type | Description |
x | number | The x offset. |
y | number | The y offset. |
z | number | The z offset. |
Returns
Nothing
Set the position of the Shape using a vector.
Arguments
Name | Type | Description |
position | Vec3 | The position. |
Returns
Nothing
Notes
If the Shape isn't attached to a Collider, this will error.