Quat:setEuler
EditSets the value of the quaternion using euler angles. The rotation order is YXZ.
self = Quat:setEuler(pitch, yaw, roll)
Arguments
Name | Type | Description |
pitch | number | The pitch (x axis rotation). |
yaw | number | The yaw (y axis rotation). |
roll | number | The roll (z axis rotation). |
Returns
Name | Type | Description |
self | Quat | The modified quaternion. |