raylib-cpp
raylib-cpp copied to clipboard
ModelAnimation.Load can load only single animation
I'm a little confused, I'm using *ModelAnimation->Load like so:
m_pWeaponAnimations->Load("res/Shovel.glb");
and I can see all my animations in the console output:
INFO: MODEL: [res/Shovel.glb] Loaded animation: AtkBW (50 frames, 0.833333s)
INFO: MODEL: [res/Shovel.glb] Loaded animation: AtkFW (50 frames, 0.833333s)
INFO: MODEL: [res/Shovel.glb] Loaded animation: AtkL (50 frames, 0.833333s)
INFO: MODEL: [res/Shovel.glb] Loaded animation: AtkR (50 frames, 0.833333s)
INFO: MODEL: [res/Shovel.glb] Loaded animation: Idle (50 frames, 0.833333s)
But I can't figure out if ModelAnimation can expose multiple animations the same way the raylib gltf example does?