Instantiate a glb animation in ImportMeshAsync


I want to instantiate a glb animation in ImportMeshAsync(), but the scaling is incorrect.

I expect to achieve this result:

Can you please let me know if there is a limitation with ImportMeshAsync(), and to instantiate a glb, the only option is to use AssetContainers instead?

Thank you

cc @Deltakosh

It is because when you call setParent we try to counteract the current transform. You should use .parent = here

1 Like

@sebavan Thank you!

So in stead of
mk.position.x += 1

I should have
mk.parent = result.meshes[1].parent
mk.position.x += 100

1 Like