rwio
rwio copied to clipboard
Hierarchy Sibling Import Error
On initial import of a model, in Max, the siblings are reversed in the hierarchy. Exporting and then reimporting fixes this and it remains consistent with dff exports made with this tool. This is assumedly an issue with SDK exported models. On export, all models appear fine so this is really only an issue that shows up in Max and came up due to .ANM I/O script I created.
I've attached some examples as well as the script and a few .ANM files, just to demonstrate. Each is an import and reexport of the previous for reference.
Anyways, happy to answer further questions on it: SonicHeroesANM Tool and Samples.zip
Hm...I thought i fixed that when i last worked on it. original RW does indeed flip the children when it reads a frame hierarchy and my code is consistent with that, but you can turn it off and for rwio that's what i did: https://github.com/aap/rwio/blob/master/src/main.cpp#L16