I have a nasty problem. I have a 3dmodel of a mole with some animation. The model initially came as an fbx with separate .fbx-es for animation.
So I had to load them in in blender and bake some of the animations to 1 line
Now I have a .glb file with the mesh and its animations in it.
walk: frame 1 -> 33
idle: frame 34 -> 81
push: frame 82 -> 113
fidget: frame 114 -> 222
celebrating: frame 223 -> 269
I made some basic code at My try (getting stuck)
Here you can see that the model is loaded perfectly and starts all of its animations directly.
I tried some code to only play the idle animation
var idleAnim = scene.beginWeightedAnimation(skeletons, 34, 81, 1, true);
But still the animation just keeps playing completely.
If I look at the scene explorer, then I see an Animation group called Action and there thewhole scene runs from floats 0,00 to 8,97 and gives me an animation count of 312 .
Can I somehow use this to do weighted (or other) animations on my mesh? Or is the animation not correctly in my .glb file ?
I hope somebody could see this just by having a peek at the inspector for my loaded scene at My try (getting stuck)
I’m learning and get stuck here. Not knowing if this should work or not.
Thanks for any help offered.