# Possible to export a Blender scene with each imported GLB model having it's own \_\_root\_\_ node?

**URL:** <https://forum.babylonjs.com/t/possible-to-export-a-blender-scene-with-each-imported-glb-model-having-its-own-root-node/5528>\
**Category:** Questions\
**Created:** [September 8, 2019, 2:20pm UTC](https://forum.babylonjs.com/t/possible-to-export-a-blender-scene-with-each-imported-glb-model-having-its-own-root-node/5528 "2019-09-08T14:20:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HappyDev](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/happydev/32/2236_2.png) [@HappyDev](https://forum.babylonjs.com/u/HappyDev)\
**Post date:** [September 8, 2019, 2:20pm UTC](https://forum.babylonjs.com/t/possible-to-export-a-blender-scene-with-each-imported-glb-model-having-its-own-root-node/5528/1 "2019-09-08T14:20:46Z")

</div>

The general gist of what problems I’m encountering can be found here : [Stuck on finding the correct orientation of a mesh lookAt() and mesh disappearing when approaching it - #6 by HappyDev](https://forum.babylonjs.com/t/stuck-on-finding-the-correct-orientation-of-a-mesh-lookat-and-mesh-disappearing-when-approaching-it/5483/6)

In summary :

1. Right now the easiest way I have found for using models with animations and all that in my scene is via loading them separately from the rest of the level via code. This creates the problem of not having an external editor like Blender so I can place them in the scene where I want them to be. So it’s either guess work fiddling with x,y,z positions manually OR by creating an empty mesh in my Blender scene in a position I desire and then having the separately imported models get the scene of that empty mesh.

> ```
> // Root node of skeleton enemy
> var skeleton1 = scene.getTransformNodeByName("SkeletonArmature").parent; 
> // Get the position of the empty mesh from Blender created scene 
> skeleton1.position = scene.getTransformNodeByName("SkeletonPosition1").position;
> 
> ```

1. I imported the mesh with its animations and all that but that works only for that particular imported model. Cloning doesn’t clone the skeleton animations and the easiest way,according to a forum search, is to just reimport the model. How can I do that with the assetmanager ? Do I need to have “Enemy.glb”,“Enemy2.glb”,“Enemy3.glb” etc and load them ?

So the easiest way to beat all my problems would be what the title suggests. It seems that when you import many glb models in blender the **root** nodes of each merge when exported so if I could make that not happen it would be so helpful.

---

<div class="post-metadata">

**Author:** ![Wingnut](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/wingnut/32/53_2.png) [@Wingnut](https://forum.babylonjs.com/u/Wingnut)\
**Post date:** [September 13, 2019, 7:06pm UTC](https://forum.babylonjs.com/t/possible-to-export-a-blender-scene-with-each-imported-glb-model-having-its-own-root-node/5528/2 "2019-09-13T19:06:19Z")

</div>

Hey, thx for that info, HD! Sorry for the slow replies. Have you made progress?

At least we have bumped the topic, after a 5 day snooze. 🙂 Sorry. Stay tuned.

---

<div class="post-metadata">

**Author:** ![HappyDev](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/happydev/32/2236_2.png) [@HappyDev](https://forum.babylonjs.com/u/HappyDev)\
**Post date:** [September 13, 2019, 7:24pm UTC](https://forum.babylonjs.com/t/possible-to-export-a-blender-scene-with-each-imported-glb-model-having-its-own-root-node/5528/3 "2019-09-13T19:24:12Z")

</div>

I just did what I outlined in the 1st option. In Blender I put two empty meshes in certain positions. Via code I load two identical “Skeleton1glb”, “Skeleton2.glb” models into my scene. On load I put said skeleton models at the position of the two empty meshes I created in blender.

It’s a bit dirty but it works. Can’t really figure out any better way ☹
