Dynamically adding animations to an avatar URL?

Hi all, I am developing a gamified self-improvement app for my final year project in university.

I am coding in Flutter and so far have managed to make a sign up system where the user can create their own avatar, which displays on the users homepage with the help of the Webview Flutter package and Babylon.js viewer.

However, since the avatar URLs/GLB files created by the user when they sign up contain no embedded animations, I cant use Babylon.js’s methods to call an animation (in this case I want an idle animation), so the avatar displays in a default state.

Of course this is only a university project so it isn’t exactly necessary that the avatar has animation, however if anyone knows if it is possible to apply animation at runtime, it would be greatly appreciated.

I know it’s possible to save the GLB file and add animations through Mixamo, or use FBX files to add them to the GLB in Blender, but that defeats the whole purpose of it being automated.

I have also toyed with the idea of making a default RPM avatar, applying a default animation in Mixamo and using it as my avatar placeholder, then letting the user customise the placeholder, but won’t that just remove the animation once the user generates a new avatar URL?

Many thanks if anyone is able to help me on this. :grinning:

Solved: I used three.js