Quaternion.Euler(number x, number y, number z)
Returns a rotation that rotates z degrees around the z axis, x degrees around the x axis, and y degrees around the y axis; applied in that order.
Parameters:
Name | Type | Description |
---|---|---|
x | number | x |
y | number | y |
z | number | z |
Returns:
type | Description |
---|---|
Quaternion |
Usage
---@type number
local x;
---@type number
local y;
---@type number
local z;
local val0 = Quaternion:Euler(x, y, z)