I’m quite new to Panda3D, so what I’m going to discuss will result quite trivial for most of you(I suppose).
What I’m trying to accomplish is to load an animated .glb model into my game. The problem is that, when I try to play the animation in a loop, it gets stuck on the first frame and when I try to analyze it using the getNumFrames() method it returns 2(the animation has 80 frames).
Here are the export settings:
Include → Limit to → Selected objects
Transform → +Y Up
Geometry → UVs, Normals, Vertex colors
Animation → Animation → Limit to playback range, Sampling rate=1, Always sample
animations, Group by NLA track
Animation → Shape keys → Shape key normals
Skinning
Any idea on what I’m doing wrong? Thanks
P.s: please, let me know if more details could help understanding the issue.
You might want to give blend2bam a try since it automatically uses optimal settings for both the Blender glTF exporter and panda3d-gltf. I remember animations being a touch tricky to get the correct settings on, but I do not remember the details.
Hello, thanks for answering. Actually, I also tried blend2bam but it didn’t solve the issue. I have solved it by switching to Blender 2.79 and using YABEE: now everything works fine