I have always just used SceneLoader load and append… never used an assetContainer
So what is the deal with AssetContainer … why would I use it…, what are the advantages of using it and how is it intended to be used ???
I have always just used SceneLoader load and append… never used an assetContainer
So what is the deal with AssetContainer … why would I use it…, what are the advantages of using it and how is it intended to be used ???
The Asset container is much more flexible.
Adding, moving and removing specific models (or all) from one or more scenes can be done with a single function. Adding meshes using a root mesh can be easily done, and in general you are in more control of your assets.
You can see in code or - Use an AssetContainer - Babylon.js Documentation