Quaternion.Normalize(Quaternion q)
Converts this quaternion to one with the same orientation but with a magnitude of 1.
Parameters:
Name | Type | Description |
---|---|---|
q | Quaternion | q |
Returns:
type | Description |
---|---|
Quaternion | normalized 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.