Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

ModelAnimation.Load can load only single animation

Aperta
#370 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
cpp
Ambito
game-dev

Direzione di ricerca

Start with ModelAnimation::Load and compare its exposed animation access with the raylib gltf example mentioned in the issue. Confirm how the animations reported for res/Shovel.glb are represented and define completion as making all loaded animations accessible rather than only one.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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?

Lingua principale
C++
Stelle
960
Fork
120
Merge medio
10m
PR unite (30g)
1

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di RobLoach/raylib-cpp

Tutte le issue di RobLoach/raylib-cpp

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.