-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.IsModelAnimationValid
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Check model animation skeleton match NOTE: Only number of bones and parent connections are checked
| Parameter | Default Value | Note |
|---|---|---|
| model | ||
| animation |
| Condition | Return Value |
|---|---|
| (always) | number |
model = raylib.LoadModel("character.glb")
anims = raylib.LoadModelAnimations("character.glb")
if raylib.IsModelAnimationValid(model, anims[0]) then
print "Animation matches model skeleton"
end if
raylib.UnloadModelAnimations anims
raylib.UnloadModel model