Finally the scene is restored to the state before the modifications. The modified scene is then exported to FBX using Blender's built-in FBX exporter with the proper options applied. This is done in the root objects, then recursively propagated to their children (as they inherit a -90 rotation after transforming their parent). The exporter modifies the objects in the Blender scene right before exporting the FBX file, then reverts the modifications afterwards.Įvery object to be exported receives a rotation of +90 degrees around the X axis in their transform without actually modifying the visual pose of its geometry and children. The File Browser exposes selection and armature options: The full hierarchy is properly preserved and exported, including local positions and rotations. Enable the add-on by checking the enable checkbox.Įxports all Empty, Mesh and Armature objects in the current scene except those in excluded collections.In Blender go to Edit > Preferences > Add-ons, then use the Install… button and use the File Browser to select the add-on file.Clone the repository or download the add-on file blender-to-unity-fbx-exporter.py to your device.Exported FBX files are imported into Unity with the correct rotations and scales. FBX exporter add-on for Blender 2.80+ compatible with Unity's coordinate and scaling system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |