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 '12 at 05:18 AM

andrew95434 gravatar image

andrew95434
20 6 9 10

(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 '12 at 08:02 AM

Sarper Soher gravatar image

Sarper Soher
1.8k 2 4 17

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 '12 at 03:42 PM andrew95434

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

Dec 09 '12 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 '13 at 10:31 PM Benproductions1
(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:

x3237
x1312
x1052
x1034
x227

asked: Sep 19 '12 at 05:18 AM

Seen: 5895 times

Last Updated: Nov 02 '13 at 10:31 PM