Sorry, can you clarify a couple of points please?
First you wrote:
Then
So is the root node or the root mesh that I should animate?
I understand that instantiateModelsToScene
returns a list of root nodes which may or may not be meshes. Is that correct? Is there an automatic way to find the root [mesh|node] (whichever is correct) automatically? I assumed whatever was returned in the .rootNodes
was actually the root and not something in the hierarchy, so I’m kind of lost here.
I thought it had an issue with RTT if I used the original object, but apparently not, I misunderstood it. But it turns out that container.meshes
have completely different objects than mantas
. So what exactly instantiateModelsToScene
returns? Can use the original mesh and the instances together on an array and treat them just alike, or are there any restrictions?
Thanks Deltakosh