Vector3.Set(number newX, number newY, number newZ)
Set x, y and z components of an existing Vector3.
Parameters:
Name | Type | Description |
---|---|---|
newX | number | new X |
newY | number | new Y |
newZ | number | new Z |
Usage
---@type Vector3
local vector3;
---@type number
local newX;
---@type number
local newY;
---@type number
local newZ;
vector3.Set(newX, newY, newZ)