Quantcast
Channel: Babylon.js
Viewing all articles
Browse latest Browse all 388

Load GLTF Mesh from Scene

$
0
0

Hello,

 

is it actually possible to load a gltf mesh in to Babylon?

 

I noticed that gltf mesh loading is not working so far, but isnt it possible to add a loaded mesh from scene A to scene B like with the code below?

            BABYLON.SceneLoader.Load("./assets/", "character.gltf", this.engine, function (gltf) {
                myotherscene.addMesh(gltf.meshes[0])
            });

Actually this is resulting in to a freezed screen...  Am I doing something wrong here or is this just not supported?

 

Cheers

 

Hen


Viewing all articles
Browse latest Browse all 388

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>