# Switch Matrix from y-UP to z-Up

**URL:** <https://discourse.threejs.org/t/switch-matrix-from-y-up-to-z-up/13331>\
**Category:** Questions\
**Tags:** transform\
**Created:** [March 6, 2020, 3:09pm UTC](https://discourse.threejs.org/t/switch-matrix-from-y-up-to-z-up/13331 "2020-03-06T15:09:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)\
**Post date:** [March 6, 2020, 3:29pm UTC](https://discourse.threejs.org/t/switch-matrix-from-y-up-to-z-up/13331/2 "2020-03-06T15:29:56Z")

</div>

I suggest you study the conversation in: [Convert from one coordinate system to another?](https://discourse.threejs.org/t/convert-from-one-coordinate-system-to-another/13240)

Note that also the handedness is important (left vs. right). You should find ready-to-use code for the conversion from right-handed Z-up to right-handed Y-up [here](https://discourse.threejs.org/t/convert-from-one-coordinate-system-to-another/13240/10).

By inverting the change-of-basis matrix, you should be able to perform the opposed operation.

---

_[View the full topic](https://discourse.threejs.org/t/switch-matrix-from-y-up-to-z-up/13331)._
