Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hierarchy Sibling Import Error #3

Open
Shadowth117 opened this issue Sep 13, 2019 · 1 comment
Open

Hierarchy Sibling Import Error #3

Shadowth117 opened this issue Sep 13, 2019 · 1 comment

Comments

@Shadowth117
Copy link
Contributor

Shadowth117 commented Sep 13, 2019

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

@aap
Copy link
Owner

aap commented Sep 13, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants