In the “Lean what’s new in Unity 2020.1 beta” talk at around 23:45 you mention the “Bake Axis Conversion”. The 2020.1 documentation unfortunately does not include an explanation for this new option yet.
Can I use this option to fix the orientation of a FBX exported from 3dsMax, which when imported in Unity, appears rotated around the x-axis by 90 degrees?
There should be an option which axis to convert, though. I’ve got some fbx files which are normally on the side; with baked conversion it’s on the other side.
I don’t know, it’s from the asset store. The ones I do myself are correctly… axed.
I can reproduce it with several models from several asset store sellers .
This model is from Unitys own “AssetStoreOriginals” (AsiaPacific, Air_Conditioning_A, I’ll send you a link)
If I take the model without axis baking and drag it into a scene, I’ll get a correctly done upright model:
Disclaimer: The camera didn’t move (much), the model is rotated. And I still get the 90 degress x-axis rotation.
Completely reset to 0,0,0, the baked axis looks like this:
I still have transforms with +90 X and up axis pointing to scene Z+.
Seems like the only thing this checkbox does is rotate my model 180 on the Y.
This feature is clearly not built for models with hierarchy and multiple objects.
I realized that choosing forward and up axis correctly is the key when exporting the FBX (From Blender in my case)
When I choose forward and up axis in export settings in Blender and check the Bake Axis Conversion in Unity import settings, everything looks correct with rotation of (0,0,0)
Tried on a model with complex hierarchy and lots of children layers. It actually works!
So for assets you already have, importing it to Blender and exporting it again with correct settings would be the solution.
Would you care to elaborate or maybe share your Blender FBX export configuration window options? I wasn’t able to figure it out on my own. I always get odd (89.98) X rotations regardless of export settings.
The triangle has a positive Y coordindate, so it should show up at 2m on the -Z axis in Unity.
But with the Bake Axis Conversion box checked, the triangle shows up exactly flipped, at 2m on the +Z axis.
I’ve tried importing this file into Maya and it works as you would expect, putting the triangle on the -Z axis. It also imports correctly in Blender (when converted to binary).
Hey I am really excited to see that feature added. Is there any chance to see it added to Unity 2019? if no, is there any AssetPostprocessor that gives similar results for FBX imported from Blender?