Skip to main content

Matrix4x4.Rotate(Quaternion q)

Creates a rotation matrix.

Parameters:

NameTypeDescription
qQuaternionRotation

Returns:

typeDescription
Matrix4x4rotation matrix.

Usage

---@type Quaternion
local q;


local val0 = Matrix4x4:Rotate(q)