Skip to content

ModelAnimation.Load can load only single animation #370

@Boyfinn

Description

@Boyfinn

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions