Vincent Du
Vincent Du

Reputation: 15

Export object from .blend file to Unity, the object is flipped

I'm trying to import objects from .blend file to Unity directly so that I can edit as I go. However after I fixed the orientation issue(I rotated the object -90 by x axis in blender and applied the rotation transformation), I got this.Blender

Unity

Also, when I add a box collider to it, the Y axis is flipped as well.

Upvotes: 0

Views: 1417

Answers (1)

derHugo
derHugo

Reputation: 90724

In general: Blender uses a different orientation (Z is up, Y is forward) then Unity (Z is forward, Y is up)

so by default you always have a rotation around the X axis of -90°.

Then additionally your model root is already rotated by 90° in Blender so in order to see it the same way in Unity you additionally need to rotate by -90° which sums up to -180 you have to set in Unity in order to see the same result in Unity.

Also as you noted yourself all your scales are inverted as well so this will cause additional problems.


I'ld recommend to always properly export your blender files to FBX and not directly use the .blend files.

There is always some trouble with that direct way and either orientation or scales (or both) gets messed up.

And even then it is tricky to get the export settings right.

You should use the Blender to Unity FBX Exporter plug-in for Blender.

It takes care of all the axis orientation and scaling settings for you so you can't mess them up ;)

Upvotes: 1

Related Questions