x


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.

more ▼

asked Sep 19, 2012 at 05:18 AM

andrew95434 gravatar image

andrew95434
20 17 18 21

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

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.

more ▼

answered Sep 19, 2012 at 08:02 AM

Sarper Soher gravatar image

Sarper Soher
1.9k 7 8 30

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

Sep 19, 2012 at 03:42 PM andrew95434

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

Dec 09, 2012 at 02:35 PM twDuke

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

Nov 02, 2013 at 10:31 PM Benproductions1

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

Jul 27 at 11:34 PM rhemaloon
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3764
x1467
x1192
x1180
x243

asked: Sep 19, 2012 at 05:18 AM

Seen: 8858 times

Last Updated: Jul 27 at 11:34 PM