[SOLVED] Engine glb mesh + anim loading

Hi folks,

How would I go about loading and playing animations from .glb files in a no-editor scenario? I have two possible cases

Case A:
One .glb file with both mesh and multiple animations

Case B:
One .glb file with mesh and rig
Multiple separate .glb files with animations

Thanks

Have a look at engine only examples here, related to animation, for example:
https://playcanvas.github.io/#/animation/locomotion

It loads multiple glb files, gets models and animations from them and puts them together to render them.

Thanks, Martin!

I’ll have a look :+1:

@mvaligursky
I got it working! Important to treat the asset as a container. Otherwise you won’t have access to the animations

1 Like