TL;DR The animation of an object works in my test scene but not in the project. Same GLB file, same code used to load the GLB file externally. Video, YT (1:41)
So I have a test scene in which all animations work as they should and a project where the bones are not animated. However, the object is moving. See video. In both scenes the same code is used to load the same file. The code corresponds to that in the documentation.
The glb file is outside the project and is therefore not imported.
At the beginning of the video is the test scene in which the idele1 animation is started in the Ready event. Incidentally, this is currently the only animation with a loop. Then I start the project in which the same file is loaded in a level editor. However, the bones are not animated. Only the root node automatically assigned to the AnimationPlayer moves. The turn animation shown in the video is only a 30° animation.
The AnimationPlayer plays the animation. The value in current_animation_position changes.
I have tried many things, but nothing fixes this. For example, I have tried several different 3d files. All converted to a glb file in Blender. Tested with objects that have only one animation, tested with objects from different sources. I created a few elements myself in Blender and animated them with a few bones. By the way, this is the only file that works! It also works in the project.
I don't know enough about Blender and animations, but I think in the other files just the bones and animations are more complex.
Consider all files work in the test scene with the same code for loading but in the project only my created 3d object works (which by the way only consists of two bones 😃)
Maybe someone can point me in the right direction where the error may lie.
Thanks for reading.