Unity importing Blender models with different orientations












2












$begingroup$




All the models apart from 'Jungle Tree' are facing right which is not a problem, because they still seem to work with my game. But how can I change the 'Jungle Tree' to face right like the other models instead of left? I haven't made the Jungle Tree drastically different to the other models so I don't see why it is doing this










share|improve this question









$endgroup$

















    2












    $begingroup$




    All the models apart from 'Jungle Tree' are facing right which is not a problem, because they still seem to work with my game. But how can I change the 'Jungle Tree' to face right like the other models instead of left? I haven't made the Jungle Tree drastically different to the other models so I don't see why it is doing this










    share|improve this question









    $endgroup$















      2












      2








      2





      $begingroup$




      All the models apart from 'Jungle Tree' are facing right which is not a problem, because they still seem to work with my game. But how can I change the 'Jungle Tree' to face right like the other models instead of left? I haven't made the Jungle Tree drastically different to the other models so I don't see why it is doing this










      share|improve this question









      $endgroup$






      All the models apart from 'Jungle Tree' are facing right which is not a problem, because they still seem to work with my game. But how can I change the 'Jungle Tree' to face right like the other models instead of left? I haven't made the Jungle Tree drastically different to the other models so I don't see why it is doing this







      unity blender






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 11 at 9:31









      Finn WilliamsFinn Williams

      407




      407






















          3 Answers
          3






          active

          oldest

          votes


















          2












          $begingroup$

          As far as I know you can't do that in Unity, when importing an object. You'd have to re-export your object with blender. You can either rotate the object itself, or while exporting, play with the settings on the left. There you can change which axis is "Up" and which one is "Forward".



          Alternatively you can make the Jungle Tree child of an Empty and rotate that by the required amount, but assuming you want to use other objects in a similar way, it can get messy.






          share|improve this answer









          $endgroup$





















            2












            $begingroup$

            First before exporting if you want to keep the rotation as 0 0 0 . Then you have to apply it.



            Apply rotation Blender



            When exporting to Unity from Blender as fbx. Blender tends to rotate by 90 degrees.



            Fbx Blender export settings



            If you use .blend files in Unity, they will be rotated. For other types of files there are other settings. But fbx is a choice of mine because it can save animations, materials, textures data...



            You can also try to change up and forward axis.



            Related: Importing an object from Blender into a scene, rotation on X axis? .






            share|improve this answer









            $endgroup$





















              1












              $begingroup$

              Follow these steps in blender:




              1. Select your model that you want to export to unity

              2. Click R then X and enter in -90. This will rotate the model on the x axis by -90 degrees.

              3. Click Ctrl + A and select Rotation & Scale. This will apply the rotation to the model and set its value to 0.

              4. Click R then X and enter in 90. This will rotate the model back to its original orientation.

              5. Export the model as fbx into unity.


              In Unity you will see that the model is now correctly oriented.






              share|improve this answer









              $endgroup$













                Your Answer





                StackExchange.ifUsing("editor", function () {
                return StackExchange.using("mathjaxEditing", function () {
                StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
                StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["\$", "\$"]]);
                });
                });
                }, "mathjax-editing");

                StackExchange.ifUsing("editor", function () {
                StackExchange.using("externalEditor", function () {
                StackExchange.using("snippets", function () {
                StackExchange.snippets.init();
                });
                });
                }, "code-snippets");

                StackExchange.ready(function() {
                var channelOptions = {
                tags: "".split(" "),
                id: "53"
                };
                initTagRenderer("".split(" "), "".split(" "), channelOptions);

                StackExchange.using("externalEditor", function() {
                // Have to fire editor after snippets, if snippets enabled
                if (StackExchange.settings.snippets.snippetsEnabled) {
                StackExchange.using("snippets", function() {
                createEditor();
                });
                }
                else {
                createEditor();
                }
                });

                function createEditor() {
                StackExchange.prepareEditor({
                heartbeatType: 'answer',
                autoActivateHeartbeat: false,
                convertImagesToLinks: false,
                noModals: true,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: null,
                bindNavPrevention: true,
                postfix: "",
                imageUploader: {
                brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                allowUrls: true
                },
                onDemand: true,
                discardSelector: ".discard-answer"
                ,immediatelyShowMarkdownHelp:true
                });


                }
                });














                draft saved

                draft discarded


















                StackExchange.ready(
                function () {
                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgamedev.stackexchange.com%2fquestions%2f167937%2funity-importing-blender-models-with-different-orientations%23new-answer', 'question_page');
                }
                );

                Post as a guest















                Required, but never shown

























                3 Answers
                3






                active

                oldest

                votes








                3 Answers
                3






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                2












                $begingroup$

                As far as I know you can't do that in Unity, when importing an object. You'd have to re-export your object with blender. You can either rotate the object itself, or while exporting, play with the settings on the left. There you can change which axis is "Up" and which one is "Forward".



                Alternatively you can make the Jungle Tree child of an Empty and rotate that by the required amount, but assuming you want to use other objects in a similar way, it can get messy.






                share|improve this answer









                $endgroup$


















                  2












                  $begingroup$

                  As far as I know you can't do that in Unity, when importing an object. You'd have to re-export your object with blender. You can either rotate the object itself, or while exporting, play with the settings on the left. There you can change which axis is "Up" and which one is "Forward".



                  Alternatively you can make the Jungle Tree child of an Empty and rotate that by the required amount, but assuming you want to use other objects in a similar way, it can get messy.






                  share|improve this answer









                  $endgroup$
















                    2












                    2








                    2





                    $begingroup$

                    As far as I know you can't do that in Unity, when importing an object. You'd have to re-export your object with blender. You can either rotate the object itself, or while exporting, play with the settings on the left. There you can change which axis is "Up" and which one is "Forward".



                    Alternatively you can make the Jungle Tree child of an Empty and rotate that by the required amount, but assuming you want to use other objects in a similar way, it can get messy.






                    share|improve this answer









                    $endgroup$



                    As far as I know you can't do that in Unity, when importing an object. You'd have to re-export your object with blender. You can either rotate the object itself, or while exporting, play with the settings on the left. There you can change which axis is "Up" and which one is "Forward".



                    Alternatively you can make the Jungle Tree child of an Empty and rotate that by the required amount, but assuming you want to use other objects in a similar way, it can get messy.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Feb 11 at 10:01









                    TomTsagkTomTsagk

                    3,094817




                    3,094817

























                        2












                        $begingroup$

                        First before exporting if you want to keep the rotation as 0 0 0 . Then you have to apply it.



                        Apply rotation Blender



                        When exporting to Unity from Blender as fbx. Blender tends to rotate by 90 degrees.



                        Fbx Blender export settings



                        If you use .blend files in Unity, they will be rotated. For other types of files there are other settings. But fbx is a choice of mine because it can save animations, materials, textures data...



                        You can also try to change up and forward axis.



                        Related: Importing an object from Blender into a scene, rotation on X axis? .






                        share|improve this answer









                        $endgroup$


















                          2












                          $begingroup$

                          First before exporting if you want to keep the rotation as 0 0 0 . Then you have to apply it.



                          Apply rotation Blender



                          When exporting to Unity from Blender as fbx. Blender tends to rotate by 90 degrees.



                          Fbx Blender export settings



                          If you use .blend files in Unity, they will be rotated. For other types of files there are other settings. But fbx is a choice of mine because it can save animations, materials, textures data...



                          You can also try to change up and forward axis.



                          Related: Importing an object from Blender into a scene, rotation on X axis? .






                          share|improve this answer









                          $endgroup$
















                            2












                            2








                            2





                            $begingroup$

                            First before exporting if you want to keep the rotation as 0 0 0 . Then you have to apply it.



                            Apply rotation Blender



                            When exporting to Unity from Blender as fbx. Blender tends to rotate by 90 degrees.



                            Fbx Blender export settings



                            If you use .blend files in Unity, they will be rotated. For other types of files there are other settings. But fbx is a choice of mine because it can save animations, materials, textures data...



                            You can also try to change up and forward axis.



                            Related: Importing an object from Blender into a scene, rotation on X axis? .






                            share|improve this answer









                            $endgroup$



                            First before exporting if you want to keep the rotation as 0 0 0 . Then you have to apply it.



                            Apply rotation Blender



                            When exporting to Unity from Blender as fbx. Blender tends to rotate by 90 degrees.



                            Fbx Blender export settings



                            If you use .blend files in Unity, they will be rotated. For other types of files there are other settings. But fbx is a choice of mine because it can save animations, materials, textures data...



                            You can also try to change up and forward axis.



                            Related: Importing an object from Blender into a scene, rotation on X axis? .







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Feb 11 at 10:53









                            Candid Moon _Max_Candid Moon _Max_

                            1,234319




                            1,234319























                                1












                                $begingroup$

                                Follow these steps in blender:




                                1. Select your model that you want to export to unity

                                2. Click R then X and enter in -90. This will rotate the model on the x axis by -90 degrees.

                                3. Click Ctrl + A and select Rotation & Scale. This will apply the rotation to the model and set its value to 0.

                                4. Click R then X and enter in 90. This will rotate the model back to its original orientation.

                                5. Export the model as fbx into unity.


                                In Unity you will see that the model is now correctly oriented.






                                share|improve this answer









                                $endgroup$


















                                  1












                                  $begingroup$

                                  Follow these steps in blender:




                                  1. Select your model that you want to export to unity

                                  2. Click R then X and enter in -90. This will rotate the model on the x axis by -90 degrees.

                                  3. Click Ctrl + A and select Rotation & Scale. This will apply the rotation to the model and set its value to 0.

                                  4. Click R then X and enter in 90. This will rotate the model back to its original orientation.

                                  5. Export the model as fbx into unity.


                                  In Unity you will see that the model is now correctly oriented.






                                  share|improve this answer









                                  $endgroup$
















                                    1












                                    1








                                    1





                                    $begingroup$

                                    Follow these steps in blender:




                                    1. Select your model that you want to export to unity

                                    2. Click R then X and enter in -90. This will rotate the model on the x axis by -90 degrees.

                                    3. Click Ctrl + A and select Rotation & Scale. This will apply the rotation to the model and set its value to 0.

                                    4. Click R then X and enter in 90. This will rotate the model back to its original orientation.

                                    5. Export the model as fbx into unity.


                                    In Unity you will see that the model is now correctly oriented.






                                    share|improve this answer









                                    $endgroup$



                                    Follow these steps in blender:




                                    1. Select your model that you want to export to unity

                                    2. Click R then X and enter in -90. This will rotate the model on the x axis by -90 degrees.

                                    3. Click Ctrl + A and select Rotation & Scale. This will apply the rotation to the model and set its value to 0.

                                    4. Click R then X and enter in 90. This will rotate the model back to its original orientation.

                                    5. Export the model as fbx into unity.


                                    In Unity you will see that the model is now correctly oriented.







                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered Feb 11 at 15:52









                                    Gary HolidayGary Holiday

                                    1597




                                    1597






























                                        draft saved

                                        draft discarded




















































                                        Thanks for contributing an answer to Game Development Stack Exchange!


                                        • Please be sure to answer the question. Provide details and share your research!

                                        But avoid



                                        • Asking for help, clarification, or responding to other answers.

                                        • Making statements based on opinion; back them up with references or personal experience.


                                        Use MathJax to format equations. MathJax reference.


                                        To learn more, see our tips on writing great answers.




                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function () {
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgamedev.stackexchange.com%2fquestions%2f167937%2funity-importing-blender-models-with-different-orientations%23new-answer', 'question_page');
                                        }
                                        );

                                        Post as a guest















                                        Required, but never shown





















































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown

































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown







                                        Popular posts from this blog

                                        Aardman Animations

                                        Are they similar matrix

                                        “minimization” problem in Euclidean space related to orthonormal basis