Change the imported model name or id after SceneLoader.AppendAsync to the scene

Hello, I have a for loop on 3 models and I am importing them in the loop to the scene using await SceneLoader.AppendAsync("", Model, this.scene);
and they are imported and all good
but I need to change the id or name of the model after I import it directly because they all have the same id “root” and the same name “Modelname”
so is there a way to change the id after SceneLoader.AppendAsync

I don’t see the problem if they all have the same id since all of them are inside their corresponding functions. Here is PG which shows how to transform root node of each model - https://playground.babylonjs.com/#U2KKMK#1
If you still need to rename them for some reasons - here is the solution: Renaming "__root__" for positioning - #3 by bluopp

2 Likes