0
$\begingroup$

Currently working on a project that involves animating a truck bed camper unfolding, which has to be exported to GLTF with a couple different animations.

The animation is created in Blender using empties parented to each other, with pistons created using Damped Track constraints on empties.

All the animated empties have NLA tracks created for them.

Exporting as GLTF works great, as long as I enable "Bake All Objects" and "Active Actions Merged".

The issue is, I don't want all the active actions merged - there need to be a couple different actions that can play separately. But if I disable "Active Actions Merged", all the animated objects export as separate actions, which also isn't what I want.

Is there any way to selectively merge actions together, without simply merging all of them?

$\endgroup$
2
  • $\begingroup$ Does this answer your question? blender.stackexchange.com/a/267223/18161 $\endgroup$
    – emackey
    Commented Apr 11 at 19:13
  • $\begingroup$ Thanks - actually no because I just figured out a similar solution on my own haha, but I appreciate the comment. Will post my solution below. $\endgroup$ Commented Apr 11 at 19:41

1 Answer 1

0
$\begingroup$

Figured out a solution.

  1. Use "NLA tracks for "animation mode" in export settings (instead of "Merge All Actions")
  2. By default this ignores empties that have constraints but no keyframes
  3. To solve this problem, add keyframes to any empties that need to be animated (they don't need to create any motion, just add a basic keyframe at the beginning and end of the frame range)
  4. This will create an NLA track for the empty - this can then be "pushed down" to create an NLA channel, which can be renamed to be part of a certain action.
$\endgroup$

You must log in to answer this question.

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