Matrix4x4.Rotate(Quaternion q)⚓︎
Creates a rotation matrix.
Parameters:⚓︎
Name | Type | Description |
---|---|---|
q | Quaternion | Rotation |
Returns:⚓︎
type | Description |
---|---|
Matrix4x4 | rotation matrix. |
Usage⚓︎
---@type Quaternion
local q;
local val0 = Matrix4x4:Rotate(q)