[SOLVED] Importing one animation per each file

Hey all,

So I currently have my character setup up such that I have multiple .blend files that all contain the same rig/model, but each file has a different animation, i.e. running, walking, sitting. I then have one main j3o file that is my “main” model that I load through my code. Is there a way that I can just extract the animations from the .blend files and copy onto my main j3o model? Any help would be greatly appreciated, thanks.

Yes you can extract the Animation from one animControl to another.
Something like

AnimControl c1 = model1.getControl(AnimControl.class);
AnimControl c2 = model2.getControl(AnimControl.class);
Animation anim = c1.getAnim("animName");
c2.addAnim(anim);
3 Likes

Thanks so much!

or you can export them to GLTF then to j3o.