Animationgroup from imported scene glb

I have imported a glb scene using BABYLON.SceneLoader.ImportMesh. There is an animation inside named ‘animation0’. How can I access it in Babylon and play?

This should help:

2 Likes

The ImportMesh function also returns the animationGroups that it loaded. You can check that list for the name which will be better scoped in case there are collisions.

2 Likes