Matrix4x4.Translate(Vector3 vector)⚓︎
Creates a translation matrix.
Parameters:⚓︎
Name | Type | Description |
---|---|---|
vector | Vector3 | vector |
Returns:⚓︎
type | Description |
---|---|
Matrix4x4 | translation matrix. |
Usage⚓︎
---@type Vector3
local vector;
local val0 = Matrix4x4:Translate(vector)