[SOLVED] Load gltb Animations from File

Extending this example:

How would I load and setup the first present animation of an given file?
I’ve found out where the animations are within the asset, but I’don’t know how to proceed from here,
especially with the new anim/state workflow.

As always, thanks for any help on this.

   console.log("animation found");
   //self.entity.animation = asset.resource.animations[0];

See how its done here, this load visuals from one glb, and animations from separate glbs:

1 Like

Perfect, that’s exactly what I was looking for!
Thank you very much!