Skip to main content

Quaternion.Normalize(Quaternion q)

Converts this quaternion to one with the same orientation but with a magnitude of 1.

Parameters:

NameTypeDescription
qQuaternionq

Returns:

typeDescription
Quaternionnormalized q

Usage

---@type Quaternion
local q;


local val0 = Quaternion:Normalize(q)

Extra Detail

When normalized, a quaternion keeps the same orientation but its magnitude is 1.0.