toEulerAngles

fun toEulerAngles(order: RotationsOrder = RotationsOrder.ZYX): Float3

Get the Euler angles in degrees from this rotation Matrix

Don't forget to extract the rotation with rotation if this is a transposed matrix

See also

Parameters

order

The order in which to apply rotations. Default is RotationsOrder.ZYX which means that the object will first be rotated around its Z axis, then its Y axis and finally its X axis.

Sources

common source
Link copied to clipboard