Quat:getEuler
EditReturns the euler angles of the quaternion, in YXZ order.
pitch, yaw, roll = Quat:getEuler()
Arguments
None
Returns
Name | Type | Description |
pitch | number | The pitch (x axis rotation). |
yaw | number | The yaw (y axis rotation). |
roll | number | The roll (z axis rotation). |