AnimationMixer Walk Cycle Single Action

I am doing the walk cycle animation in Blender and exporting it as gltf format for Three.js. The model in Blender has 2 seperate meshes/objects for each of the characters legs (No bones or rigging). I am not sure but I think 2 objects will results in 2 seperate animation actions when loading model with the gltf loader in three.js.

Should I just call the action.play() function on both leg1 and leg2 actions or is there any better way to handle this?

If you have two clips, you could play them both at the same time, that should work fine.

A better option would be to export only one animation from Blender. To do that you need to assign an NLA track for each Action, both with the same name. See https://docs.blender.org/manual/en/2.90/addons/import_export/scene_gltf2.html#animation.

1 Like

Thanks! That was ideal solution.