3
$\begingroup$

I have about 10 animations of an FBX model. The geometry of the model is the same but each animation is different.

I want to merge all 10 animations into a single gltf file, i.e. I want to have a single model and skeleton but retain the 10 different sets of keyframes and interpolation parameters.

Is this possible?

$\endgroup$
3
  • $\begingroup$ blender.stackexchange.com/questions/266953/…. <-- this may help. I found this tutorial useful for explaining how to merge animations into one: youtube.com/watch?v=3NrsSdEUSWI $\endgroup$
    – tomh
    Jun 21, 2022 at 7:52
  • $\begingroup$ Excuse the ignorance, that seems to be for mixamo animations but I have fbx files, would it still work? $\endgroup$
    – Makogan
    Jun 21, 2022 at 8:25
  • $\begingroup$ I'm not sure? I think so? When I export from Mixamo, I chose FBX animations, which then import correctly into Blender (total beginner at this myself). $\endgroup$
    – tomh
    Jun 21, 2022 at 8:27

1 Answer 1

2
$\begingroup$

Exporting glTF animations are briefly covered in this section of the Blender Manual.

When you have multiple different animations to store in a single glTF, they can be encoded separately using the Nonlinear Animation panel, as "NLA" tracks.

screenshot of "push down action"

Click the Push Down Action button. After clicking it, the result will look something like this:

NLA action screenshot

Double-click "NlaTrack" and rename it to the name of the animation that you would like to see in the exported glTF file. If multiple objects are to move as part of a single animation, copy-and-paste this name exactly to all of the NLA tracks that participate in the animation.

After exporting to glTF, all NLA tracks with exactly the same name will be rolled into a single glTF animation of that name. NLA tracks with different names will be different animations within the file.

Some time ago I made a YouTube video demoing this process.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .