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