• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
16
Question by andrew95434 · Sep 19, 2012 at 05:18 AM · rotationimportblenderrotateimporting

Rotation when importing from Blender

I created a simple object with blender and then i saved it as a *.blend file. i dragged the file into Unity and it worked perfectly, but i noticed that the rotation was not set to 0,0,0 so i set it to that rotation and my object turn into another rotation that the one i wanted the object to be. so in conclusion, blender sets the object rotation to another. i tried rotating the object in blender, but it always change, i can't set the rotation like i want it to be.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image unityISgarbage · Aug 26, 2015 at 09:25 PM 0
Share

no response leads me to believe no one care? which sucks bc i have been looking into this for 6 hours now... =T ive read everything from clicking object>Apply rotation" to "just install my magic addon" nothing works.

6 Replies

· Add your reply
  • Sort: 
avatar image
52
Best Answer

Answer by SarperS · Sep 19, 2012 at 08:02 AM

UPDATE: I see that people still find this topic and apply the original fix I wrote. There is a simpler and better way for some time now. Here is a little Blender script with it's own GUI http://forum.unity3d.com/threads/blender-unity-rotation-fix.181870/

It's the FBX exporter and the difference of the coordinate systems between Blender and Unity, and simple to fix.

In object mode, set the X rotation of your model to -90. Press Ctrl + A and apply rotation, X rotation appears to be 0 now in Blender, set it to 90 and save/export it. You'll see that it will appear both correct and at 0 rotations now.

Comment
Add comment · Show 16 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image andrew95434 · Sep 19, 2012 at 03:42 PM 1
Share

thanks it worked, anyway i don't export the object to FBX, i just save it as a *.blend file and then drag it into unity

avatar image twDuke · Dec 09, 2012 at 02:35 PM 0
Share

thx alot! Got a headache rotating my character controller, having the axis corrected solved the issue.

avatar image Benproductions1 · Nov 02, 2013 at 10:31 PM 1
Share

If you want Unity to properly import the model and not change your blender model, you can use this script from the wiki

avatar image rhemaloon · Jul 27, 2014 at 11:34 PM 0
Share

I also had this issue. Thanks a bunch, it worked perfectly!!

avatar image Birdimol · Nov 17, 2014 at 09:04 AM 0
Share

Worked perfectly for me too, Thanks !

Show more comments
avatar image
3

Answer by Cliffinho · Jun 21, 2017 at 05:10 PM

As @Sarper-Soher said, after editing process finished, you must rotating -90d in X axis, apply rotation with CTRL/CMD + A, then rotate 90d. And in Unity, the rotation should be 0,0,0. But, in my experience, I noticed that the models in Blender, that is looking forward, for example, a car with the engine what is loocking forward, when imported to Unity, is loocking backwards. So, to fix that, before you do the process shown by Sarper, you must rotate the model 180d in Z Axis in Blender, and apply rotation with CTRL/CMD + A. The model in Blender seems looking to backward, but, when you export to Unity, it is facing forward (In the car example, now the engine part, or the car hood is facing with Unity Z Axis). (Sorry about my english, hope you can understand)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by meat5000 · Mar 07, 2018 at 09:27 AM

Blender can export proper rotations now for those that use FBX.

https://answers.unity.com/questions/1458651/problems-importing-rigged-model-from-blender-to-un.html?childToView=1458751#answer-1458751

I've made this work with Blend but not extensively tested for viablility in anything but simple situations.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SarperS · Mar 07, 2018 at 09:30 AM 0
Share

$$anonymous$$any don't want to export FBX to keep the original source model in the project for further editing thus this thread is still viable

avatar image meat5000 ♦ SarperS · Mar 07, 2018 at 12:13 PM 0
Share

Yes, totally.

avatar image
0

Answer by DOUAUD · Nov 22, 2018 at 05:05 PM

Hi everyone. Maybe a simple way :

1- "copy component values" from the "transform" properties of your object (with his 90° rotation)

2- create an empty GameObject

3- drag your object into this new GameObject (now the rotation is applied to this)

4- paste the "transform component value" on your inital object (to restore the rotation)

5- reset the new GameObject transform value (Rotation = 0)

6- then add navmesh to the new GameObject

7- bake the navmesh.

That's work for me and you still edit your mesh in blender.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Baalhug · Aug 21, 2019 at 09:41 PM 1
Share

You forgot another 7 steps to make it even more simple.

avatar image
0

Answer by jfkalfas · Oct 04, 2021 at 04:16 AM

If anyone finds this useful, i've rotated the AR camera +90 degrees on the X-axis and it worked for my AR project.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

30 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity doesn't import animations from Blender and causes other problems 0 Answers

different location/rotation when i "Play" the scene 1 Answer

Model bones are rotated when importing into unity 1 Answer

Unity Animation Import very slow 4 Answers

Torus Shape from Blender behaves strangely 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges