# GLB import with unexpected rotation and scale

**URL:** <https://forum.babylonjs.com/t/glb-import-with-unexpected-rotation-and-scale/22190>\
**Category:** Bugs\
**Tags:** editor, sandbox\
**Created:** [July 6, 2021, 9:32am UTC](https://forum.babylonjs.com/t/glb-import-with-unexpected-rotation-and-scale/22190 "2021-07-06T09:32:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pedro\_Puggioni](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pedro_puggioni/32/17218_2.png) [@Pedro\_Puggioni](https://forum.babylonjs.com/u/Pedro_Puggioni)\
**Post date:** [July 6, 2021, 9:32am UTC](https://forum.babylonjs.com/t/glb-import-with-unexpected-rotation-and-scale/22190/1 "2021-07-06T09:32:31Z")

</div>

Hi,  
when I import a glb in the editor (but also in the sandbox), the glb is imported with 180° Y rotation and -1 Z scale.  
If I import the FBX of the same model the transformations are ok.  
Is it a bug?

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [July 6, 2021, 11:45am UTC](https://forum.babylonjs.com/t/glb-import-with-unexpected-rotation-and-scale/22190/2 "2021-07-06T11:45:00Z")

</div>

Welcome aboard!

It is not a bug, it is because the coordinate system used by glTF is right handed whereas Babylon.js is using a left handed system by defaut. This rotation+scaling is there to transform right handed coordinates to left handed.

If loading the glTF by code, you can set `scene.useRightHandedSystem = true` before importing the file and you won’t get this rotation+scaling.

---

<div class="post-metadata">

**Author:** ![Pedro\_Puggioni](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pedro_puggioni/32/17218_2.png) [@Pedro\_Puggioni](https://forum.babylonjs.com/u/Pedro_Puggioni)\
**Post date:** [July 6, 2021, 11:58am UTC](https://forum.babylonjs.com/t/glb-import-with-unexpected-rotation-and-scale/22190/3 "2021-07-06T11:58:49Z")

</div>

Many thanks for the answer and for the code hint!  
Very appreciated!
