# What's convention of Euler angles in Babylon.js?

**URL:** <https://forum.babylonjs.com/t/whats-convention-of-euler-angles-in-babylon-js/858>\
**Category:** Questions\
**Created:** [January 21, 2019, 8:18am UTC](https://forum.babylonjs.com/t/whats-convention-of-euler-angles-in-babylon-js/858 "2019-01-21T08:18:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zen\_Power](https://avatars.discourse-cdn.com/v4/letter/z/ecae2f/32.png) [@Zen\_Power](https://forum.babylonjs.com/u/Zen_Power)\
**Post date:** [January 21, 2019, 8:18am UTC](https://forum.babylonjs.com/t/whats-convention-of-euler-angles-in-babylon-js/858/1 "2019-01-21T08:18:04Z")

</div>

I have read the `babylon.math.ts` and found that `Quaternion.toEulerAngles` is in order ‘YZX’. But is this intrinsic or extrinsic? Currently, I want to convert it to ZYX (intrinsic ) for Tait-Bryan in right hand coordinate system. But my math is bad

---

<div class="post-metadata">

**Author:** ![JohnK](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/johnk/32/26764_2.png) [@JohnK](https://forum.babylonjs.com/u/JohnK)\
**Post date:** [January 21, 2019, 2:06pm UTC](https://forum.babylonjs.com/t/whats-convention-of-euler-angles-in-babylon-js/858/2 "2019-01-21T14:06:30Z")

</div>

Hi @Zen_Power and welcome to the forum. Hope this page from the docs helps [Euler Angles and Quaternions - Babylon.js Documentation](https://doc.babylonjs.com/resources/rotation_conventions)

And maybe this [Position and Rotation - Babylon.js Documentation](https://doc.babylonjs.com/babylon101/position#rotation)
