nbever / j-md5loader

MD5 model loader for java
2 stars 1 forks source link

Issue when hierarchy joints doesn't start with root #2

Open Safraann opened 4 years ago

Safraann commented 4 years ago

Hi, Im' having issue with my md5anim file, converted by Noesis software. Its causing an IndexOutOfBoundsException in MD5Animation#buildFrameSkeleton cuz that doesn't start with the root. I tried to sort all the joints in hierarchy, but for some reason, still doesn't work. Have you any fix for that? Maybe using regex for getting data wud be better, nah? Thanks in advance!

Safraann commented 4 years ago

To be more precise, I can have parent's join ID's that are bigger than child's joint ID. But I read that should always be the opposite, true?