1. All Unity Pro perpetual license customers: your special offer to subscribe is ready! Click here.
  2. We're running a survey about the usage of our graphics pipeline, help give us your feedback.
  3. Unity 5.6 beta is now available for download.
  4. Unity 5.5 is now released.
  5. Check out all the fixes for 5.5 in patch releases 1 & 2.
  6. Enter the Google Play Indie Games Contest in Europe. Read more about it here.
  7. Get prepared for the Tizen Mobile App Incentive Program! Read more about the upcoming program here.
  8. Enter the Microsoft Developer Challenge for a chance to win prizes. Read more about it here.

Blender > Unity Rotation Fix

Discussion in 'External Tools' started by Mirgar, May 11, 2013.

  1. lohner

    lohner

    Joined:
    Jul 3, 2013
    Messages:
    4
    BRILLIANT!!! This was a problem I planned on tackling latter in development and I stumbled upon this. Thanks so much! BTW it works with Blender 2.7 & Unity 4.5.1f3
     
  2. elliospizzaman

    elliospizzaman

    Joined:
    Aug 12, 2013
    Messages:
    43
    This is very helpful and a huge time saver! I just tested it with Blender 2.7.1 and it worked great.
     
  3. Fritsl

    Fritsl

    Joined:
    Mar 10, 2013
    Messages:
    118
    I love you.
     
  4. Shaba1

    Shaba1

    Joined:
    Jan 21, 2010
    Messages:
    30
    I have a question. If I used this addon on a humanoid mesh that has an armature and animation in blender will not the animations be messed up. i.e if the character has a walking animation will he then not be walking up a wall in blender and in unity will he not be facing the right direction until you play an animation then be walking either away from the front view or up the unity global y axis?
     
  5. Mirgar

    Mirgar

    Joined:
    Aug 6, 2012
    Messages:
    18
    If you converting existing character that is rigged, you should only apply fix on armature, mesh should have no additional rotation. Animations works fine, and rig should be updated only if you use drivers.
     
  6. tomandjerry-tas

    tomandjerry-tas

    Joined:
    Feb 7, 2013
    Messages:
    21
    This is really helpful, thanks. :)
     
  7. johannhesters

    johannhesters

    Joined:
    Jan 31, 2015
    Messages:
    12
    Does this thread deal with this kind of problem that occurs to me while bringing an FBX from Blender to Unity?
    I am not really sure. It would be nice if somebody could tell me if that is actualy the problem that is being discussed here.
    Thank you.
    [​IMG]
     
  8. Mirgar

    Mirgar

    Joined:
    Aug 6, 2012
    Messages:
    18
    No, I don't think so. This plugin fixes rotation problem when your model lies on its face when imported from Blender to Unity. In Blender -Y axis is forward, script brute forces it to be +Z like in Unity.
     
  9. VectorSigma

    VectorSigma

    Joined:
    Dec 22, 2014
    Messages:
    3
    Great add-on. Saved me tons of time. Thank you.
     
  10. numberkruncher

    numberkruncher

    Joined:
    Feb 18, 2012
    Messages:
    938
    It would be sure nice if this issue was resolved in Unity; but, here is another little workaround which some may like:
    1. Open model in Blender.
    2. Add empty object at origin.
    3. Save as .blend file.
    4. Import into Unity; rotation all good but redundant empty game object in scene. Delete, save as prefab :)
     
    Freezy likes this.
  11. Freezy

    Freezy

    Joined:
    Jul 15, 2012
    Messages:
    226
    I still prefer the script I posted on the previous page.
    But indeed it would be nice if Unity implemented a fix for something as silly as this issue.
    Or at least post a reason why it is not being fixed.
     
  12. cjdev

    cjdev

    Joined:
    Oct 30, 2012
    Messages:
    32
    This is perfect, just what I was looking for. Thanks for your work.
     
  13. dxb2010

    dxb2010

    Joined:
    Nov 5, 2013
    Messages:
    3
    I thought I was going mad till I did a search and found this utility. Thank you for sharing it!
     
  14. Neomex

    Neomex

    Joined:
    Sep 2, 2013
    Messages:
    73
    This is perfect, thank you!
     
  15. RobG88

    RobG88

    Joined:
    May 28, 2015
    Messages:
    3
    Wondering if anybody can help.
    I'm not a blender user and just a Unity beginner.
    I have installed, enabled and can see MISC, Unity Tools

    BUT

    After opening the blender file that I want to modify the MISC tab disappears.

    I can still see that the add-on is installed and enabled but there doesn't seem to be any way to get to it.

    I tried opening the script in the text editor and RUN SCRIPT but that didn't do anything for my either.

    Any help would be most appreciated - trying to fix this Unity/Blender issue is just horrible!
     

    Attached Files:

  16. unityISgarbage

    unityISgarbage

    Joined:
    Aug 26, 2015
    Messages:
    3
    could you walk me through the installation proccess, i dont seem to have any of the tabs or buttons youre mentioning in your instructions
     
  17. unityISgarbage

    unityISgarbage

    Joined:
    Aug 26, 2015
    Messages:
    3
    oH it works but i lost the mirrored work.
     
  18. unityISgarbage

    unityISgarbage

    Joined:
    Aug 26, 2015
    Messages:
    3
    it is not helpful, it looks like you were drunk when you wrote the instructions, and the script delete stuff off the mirrored side
     
  19. Brosi91

    Brosi91

    Joined:
    Oct 23, 2015
    Messages:
    1
    Hey!
    I absolutely love the add-on, but I've got a little problem with it:
    I used it in blender 2.6ish version and it worked properly, but since I updated to 2.74 it just won't show. I even downloaded and reinstalled the file, and it gets shown as an add-on in the user-preferences, but it just won't show up in the Tool Shelf.
     
  20. VOTRUBEC

    VOTRUBEC

    Joined:
    Dec 17, 2014
    Messages:
    11
    Working with Blender 2.76b. Mirgar, thanks for this!
     
  21. Dabjulmaros

    Dabjulmaros

    Joined:
    Nov 23, 2015
    Messages:
    1
    Thanks. You saved me from a big headache.
     
  22. kennyk3n

    kennyk3n

    Joined:
    Dec 8, 2015
    Messages:
    1
    Thanks I was about to lose my mind trying to get the rotations right
     
  23. bluo100

    bluo100

    Joined:
    Apr 15, 2015
    Messages:
    2
    thank you, thank you, thank you, thank you, thank you, thank you, thank you! I can finally use Blender instead of expensive Maya! xD
     
  24. JamieG83

    JamieG83

    Joined:
    Feb 28, 2013
    Messages:
    1
    Script is working well for me, thanks very much for sharing. :)
     
  25. zhuchun

    zhuchun

    Joined:
    Aug 11, 2012
    Messages:
    256
    Thanks dude! Blender should add this add-on to their offical release lol
    I can't believe this problem still exists after so many years though, thank you Unity : \
     
    Jorge_de_la_Cuesta likes this.
  26. abcNocturn

    abcNocturn

    Joined:
    Dec 16, 2016
    Messages:
    5
    Hey guys,
    can't find the menu point either :/
    Can anybody provide a simple screenhot maybe ?
     
  27. occulus1975

    occulus1975

    Joined:
    Jan 7, 2017
    Messages:
    1
    Had the same problem myself in Blender 2.78. After you install the plugin, make sure that there's a checkmark in the box for it under "Addons -> Object -> Object: Unity Tools" in user preferences AND THEN SAVE YOUR PREFS. If you don't save the prefs, it will vanish when you close Blender.

    Once you do that, it should be on the vertical toolbar under "Misc" at the far left of the Blender UI (it gets its own tab, among those which sit at the extreme far left of the Blender window).
     
  28. zt3ff3n

    zt3ff3n

    Joined:
    Feb 19, 2016
    Messages:
    6
    I am getting a Error message: “expected an indented blockon blender 2.76 osx, when trying to enable the addon.