1
$\begingroup$

My Blender is v. 2.93.4. The following issue exists in both .glb and .gltf exports.

I got an animated test model made of 3 boxes. It has one bone for each box.

Test model

It has 4 action track animations moving the left and right boxes. They are recorded in stash form, and are named A, B, C, D.

Action tracks in outliner

All animations are rotating types. A waves the left and right boxes back and forth. B waves the left box sideways. C and D both wave the right box sideways.

On Blender the animations work as supposed to. Below is the B track in Pose/Object mode:

Action B in frame 0

However, if I export them in .glb/.gltf form with these settings:

The settings

The box which isn't supposed move repositions in tracks B, C and D. Below is the B track after export:

B animation after an export, notice how the right box has moved

This doesn't affect the animations in Blender, all I have to do is reposition them back properly. However, once I import the .glb/.gltf file into Godot (v 3.2.2), the box that isn't supposed to move repositions itself in tracks B, C and D. Below is the B track in Godot:

B animation on frame 0 in Godot, notice how the right box has repositioned itself again.

It doesn't move, it just repositions itself.

At first I created only A and B animations, and both exporting and importing went without trouble. But after I quit, restarted and created C and D, these issues started, and that's when B track got corrupted as well.

Since the repositioning happens already in Blender, I assume the problem is in the exporting phase. A, which moves both left and right bones, works fine, and the middle boxes bone, which doesn't have any animation to assigned in it in any track, doesn't move when exported or imported to Godot. That's why I assume that export for whatever reason repositions the idle bones that move in other tracks.

Is it possible to fix this? I've looked up similar problems before and they've suggested combining the animations into one. But I'd like to know if it's possible to keep the animations in a separate tracks, and if not, why?

$\endgroup$
1
  • $\begingroup$ Try with a Blender 3.0 beta, a recent change may have affected this. $\endgroup$
    – scurest
    Sep 18, 2021 at 20:38

1 Answer 1

0
$\begingroup$

The problem appears to have been some kind of version bug. The model exported from 3.0.0 Alpha works as intended for now.

UPDATE: The same problem started with 3.0.0. I assume this is a bug.

$\endgroup$

You must log in to answer this question.

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