2
$\begingroup$

I have a project going and it consists of everything sitting still and two animations. I have a character moving and a butterfly moving. However I've been spending countless hours trying to get them to play together when its exported as a gltf or glb. In blender I can move the timeline and the animation plays. My character moves his head and the butterfly flaps its wings. But when exported, im using the standard Microsoft 3d viewer and it only lets me play one or the other. Im trying to get them to play at the same time. Any idea as to what im doing wrong or how to get this to work?enter image description here

$\endgroup$
4
  • $\begingroup$ Try disabling "Group by NLA Track" on the export screen. $\endgroup$
    – scurest
    Commented Aug 3, 2021 at 20:43
  • $\begingroup$ I tried that and I ended up with the same results. $\endgroup$
    – Walter
    Commented Aug 3, 2021 at 21:18
  • $\begingroup$ Upload .blend file. $\endgroup$
    – scurest
    Commented Aug 3, 2021 at 21:26
  • $\begingroup$ Ok, Here it is, mediafire.com/file/xnuofxgfzfei1fh/Tree_of_life.blend/file $\endgroup$
    – Walter
    Commented Aug 3, 2021 at 21:34

1 Answer 1

2
$\begingroup$

Group By NLA Track = ON

When this is on, you just need to open the NLA Editor and change the track name from "NLA Track.whatever" to the name you want the animation to have. Give two tracks the same name to make them part of the same glTF animation (ie. they play at the same time).

For example, this is what I did to make your animations play at once.

Tracks renamed "Tree of Life"

The Action.001 on Armature.002 also get exported (Action on Armature would too if it had any keyframes). You might want to clean those up.

Group by NLA Tracks = OFF

This is supposed to export all the active actions as one glTF animation I think (not entirely sure...). If you just assign the actions you want to each object and don't use NLA tracks like this

it also exports playing at once.

$\endgroup$
1
  • $\begingroup$ Thank you so much! it worked out just fine! ;) $\endgroup$
    – Walter
    Commented Aug 3, 2021 at 23:06

You must log in to answer this question.

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