# Problem with coordinates

**URL:** <https://discourse.threejs.org/t/problem-with-coordinates/26901>\
**Category:** Questions\
**Tags:** coordinate-system, blender\
**Created:** [June 3, 2021, 4:47pm UTC](https://discourse.threejs.org/t/problem-with-coordinates/26901 "2021-06-03T16:47:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DeveloperMikitognoni](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/developermikitognoni/32/18689_2.png) [@DeveloperMikitognoni](https://discourse.threejs.org/u/DeveloperMikitognoni)\
**Post date:** [June 3, 2021, 4:47pm UTC](https://discourse.threejs.org/t/problem-with-coordinates/26901/1 "2021-06-03T16:47:26Z")

</div>

Hi,  
I’m working on a project in which I need to use both OBJ files made with blender and some meshes created with three. With only the OBJ, they position like in blender, but when I create a plane and position with the coordinates taken from blender, it goes in an other place and also rotations are wrong. I tried to invert axis, but nothing works. Can anyone help me?

---

<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:** [June 4, 2021, 9:03am UTC](https://discourse.threejs.org/t/problem-with-coordinates/26901/2 "2021-06-04T09:03:51Z")

</div>

Blender and `three.js` have difference coordinate systems. So you can’t use coordinates 1:1.

Blender and `three.js` are both right handed but Blender’s up vector is positive Z whereas in `three.js` it is positive Y. You should be able to convert coordinates by rotating them -90° around the X axis.

---

<div class="post-metadata">

**Author:** ![DeveloperMikitognoni](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/developermikitognoni/32/18689_2.png) [@DeveloperMikitognoni](https://discourse.threejs.org/u/DeveloperMikitognoni)\
**Post date:** [June 4, 2021, 9:38am UTC](https://discourse.threejs.org/t/problem-with-coordinates/26901/3 "2021-06-04T09:38:01Z")

</div>

I noticed that and tried inverting Z and Y, but it still doesn’t work.

---

<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:** [June 4, 2021, 12:50pm UTC](https://discourse.threejs.org/t/problem-with-coordinates/26901/4 "2021-06-04T12:50:40Z")

</div>

Inverting Z and Y is not the same as a -90° rotation around the X axis.

---

<div class="post-metadata">

**Author:** ![DeveloperMikitognoni](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/developermikitognoni/32/18689_2.png) [@DeveloperMikitognoni](https://discourse.threejs.org/u/DeveloperMikitognoni)\
**Post date:** [June 4, 2021, 3:49pm UTC](https://discourse.threejs.org/t/problem-with-coordinates/26901/5 "2021-06-04T15:49:12Z")

</div>

Yes, you’re right… I rotated it and now it works…

Little tip: after doing the math I realized that rotating by -90° on the X il like to do this:  
threejs\_y = old\_z  
threejs\_z = - old\_y
