-
Notifications
You must be signed in to change notification settings - Fork 9
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
Collision Data Deleted From Scaled Vanilla Mesh After Exporting #80
Comments
Having the exact same issue, even if no changes are made at all, with or without 'Preserving Node Info'. Even when scaling is done through 'edit mode', as you're likely supposed to do, this issue is present. Using NMS version 2.62, MBINC v2.61.1-pre2, NMSDK v0.9.21 Note: Not seeing anything wrong when in '--debug-' mode either (Import, no changes > Export without PNI I did however notice something else that I found interesting. Likely not related, but noticed when making a change to the scale of 'AsteroidVerticalLOD0' in 'edit mode' (Scale Y with 0.5), get the following error in the console at the start of the export:
I am not getting that 'error' when changing the scale through the Transform properties as @seancruzgp has done. Feel free to move this to be a separate issue. I just wanted to mention this here, as I was testing this exact issue when I found the error with scaling in edit mode. |
I tried the latest release you posted on Discord. I followed the same steps I laid out in the OP. I also tried changing the scale of the collision on y to 800. The game will still crash while loading. Here are the xmls to compare. |
Thanks, I'll have a look at it. |
Fix numerous issues with collisions and improve docs
Describe the bug
After scaling a vanilla mesh and exporting and packing the mod, game crashes. Comparing the exported MBIN to the original MBIN reveals that collision data was deleted as well as some values regarding LODs.
To Reproduce
Steps to reproduce the behavior.
EXML Files for Comparison.zip
Screenshots
Image of Blender and what I did.
Yellow tab is original decompiled MBIN. Red is the Blender output decompiled. I ss mainly the LOD section that was removed and one of the collisions of one of the LOD meshes. The two other pink areas are other LOD collisions that were also removed since I changed the scale of _Asteroid_VerticalLOD0, LOD1, LOD2, LOD3. All the light blue highlights are edits but I'm not sure why they're edited.
The text was updated successfully, but these errors were encountered: