You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to search for bone transforms using bone name, but LoadModelAnimationsIQM discards joint names for some reason and just writes "ANIMJOINTNAME" to BoneInfo.name
@PencilAmazing Does IQM provide joint names data? In any case, BoneInfo.name is only 32 bytes, I tried to keep the object small. Afaik in most situations bone names are not that useful and they can be better accessed by index.
@raysan5 My use case was to load custom models and allow the user to specify a bone by name then attach a model to it's transform. I could force the user to memorize a magic index number for the model and hope the bone order never changes, but the inbuilt raylib structure field is simply being left unused for no real reason.
And yes, my IQM file does have joint names data and already is being loaded for skeletal models. I would imagine that 32 bytes is enough for most bone names.
Issue description
I'm trying to search for bone transforms using bone name, but
LoadModelAnimationsIQM
discards joint names for some reason and just writes"ANIMJOINTNAME"
toBoneInfo.name
Code Example
https://github.com/raysan5/raylib/blob/master/src/rmodels.c#L4504
The text was updated successfully, but these errors were encountered: