• 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
0
Question by AgonyRoses · Jul 13, 2016 at 09:21 AM · animationanimatormecanimanimator controllerblender animation

Blender FBX Import to Unity messes up animations

So I made a set of animations for my rigged and textured character in Blender 3D and they play perfectly fine. However when exporting them to Unity as FBX, the idle animations are out of place, even on frame 0..

alt text Here's in Unity

alt text

and here's in blender.. Unity also has a problem of rotating my model 90 degrees on it's side whenever i set the motion to the actual root bone.. but one problem at a time.

unity-frame-0.jpg (17.9 kB)
blender-frame-0.jpg (29.7 kB)
Comment
Add comment · Show 7
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 PhantomSarcasm · Jul 13, 2016 at 01:36 PM 1
Share

I have no clear solution, quisas to export the problem is, I'm not so expert that part ... in terms of the turn, I spend something just had to change the rotation in quaternion Auler, and if in "animation" you give the option of euler angle (quaternion idendity). I hope this will help.

avatar image AgonyRoses · Jul 13, 2016 at 03:53 PM 0
Share

Hm, I'll try that

avatar image AgonyRoses · Jul 13, 2016 at 04:17 PM 0
Share

It's already set to Quaternuon (WXYZ)

avatar image BloodBTF · Jul 13, 2016 at 09:37 PM 1
Share

you could try changing the scale to metric in blender, or you could apply rotation and scale (Ctrl + A) while in edit mode. then export it.

avatar image AgonyRoses · Jul 14, 2016 at 02:33 AM 0
Share

I managed to fix one idle animation jitter by moving the knee Ik around.. However the another idle animation jitters I between a transition from one frame to the other.. Even though I explicitly baked the key frames when exporting..

Show more comments

1 Reply

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

Answer by theANMATOR2b · Jul 13, 2016 at 12:20 PM

Can't really see the problem from the images. What solutions have you attempted to fix the problems?

Also - you may have modeled/rigged the character facing the wrong direction in blender - which will result in the character facing the incorrect direction in Unity.

There are several threads in the forum documenting this and solutions, in addition to the ample information in the documentation about setting up a character in blender correctly.

Comment
Add comment · Show 3 · 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 AgonyRoses · Jul 13, 2016 at 03:50 PM 0
Share

The problem is that in the middle of the idle animation, the feet randomly jut outwards and back ins$$anonymous$$d of just smoothly rotating. I applied the tranform and all that and even tried to see if it was the ik. Using the blend file fixes it but that has a different set of problems, all the other animations work just fine too

avatar image AgonyRoses · Jul 13, 2016 at 04:19 PM 0
Share

Also worth noting I attempted to recalculate bone roll, which fixed it only when I didn't have a root bone

avatar image AgonyRoses · Jul 14, 2016 at 03:02 AM 0
Share

Here are gifs of it:

In Unity https://media.giphy.com/media/l41YaA3Gfj2zJWQr6/giphy.gif

In Blender

https://media.giphy.com/media/3oEjHATPmd9HGRWfS$$anonymous$$/giphy.gif note the beginning skip is just due to bad looping when i made the gif.

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

7 People are following this question.

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

Related Questions

What is the proper way to wait for an Animator Controller to update? 1 Answer

C# Help with setting up jump animation 0 Answers

How do I construct my animation state machine this way? 0 Answers

Mecanim Transition-Arrow Pulsing 2 Answers

unity freezes when running sprinting animation 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges