I am trying to use Asset Container via Asset Manager. And implemented it based on my understanding and it works but I wan to make sure some points and my implementation is on the right track.
var model = assetsManager.addContainerTask(…);
Question - I have 4 models to load so I have to repeat addContainerTask for each models. does that mean adding those models in a single container or is it creating a new container for each model?
I have a common function that creates a reflection for all models on a common ground. And the issue here is, even though the models are not added to the scene, the reflection is visible on the ground. So to handle this issue, I create the reflection every time when the model is added to the scene.
Questions - is it the right approach?
Prior the asset container implementation, we use model.setEnable(true | false) to determine to display or not the model in the scene. This works with the logic to create a reflection for all models at once and we get a reflection only for those visible models only.
If there is a playgound link that demonstrate use of asset container via asset manager that include reflection logic with switching from model to model (adding and removing model to scene).
is there a feature to check container related stuff on the inspector?
Thanks in advance.