Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I am trying to import a character into Unity from Blender. I exported the model (which has actions/animations) from Blender as a FBX file and dropped in into my Unity project’s Assets folder. The model with all of its components (mesh, armature, animations) appears in the project window; however, Unity doesn’t immediate associate the animations with the model when I drag an instance of the model into my scene.

I have also imported a Blender default model (“Constructor” - a man with red overalls and a wrench), and have been comparing the settings of my model to the Blender model in order to find discrepancies.

3 observations I have made:

  1. Blender’s model is automatically assigned an “Animation” window in the Inspector panel (image #1), while mine is assigned an “Animator” window (image #2). Since the former window is the one where the animations are listed and you assign the default animation, it seems like this one is crucial. How do I import my model such that the “Animation” window appears in its Inspector window? (I’ve tried adding an “Animation” window myself, but it doesn’t recognize the model’s animations as the Blender model’s “Animation” window does.

    image 1

    image 2

    image 3

  2. In Unity, my model’s animations all begin at -1.0 (even though they begin at keyframe 0 in Blender) (image #3). For each animation, I get the message, “The clip range is outside the range of the source take.” I get this message even when I move the animation forward several keyframes in Blender and re-export the file to Unity as a FBX.

  3. I compiled several of my actions into an animation that I then exported as a .mov file, and this is the sequence of actions that begins when I press “Play” in Unity. When I deleted this animation from Blender (as I thought this was the issue), my model now does nothing when I press “Play.”

I am using:

Blender 2.67 and Unity 4.1.5f1

My actual question: How do I import my character into Unity such that it is automatically assigned an “Animation” window?

I have been struggling with this issue for several hours now, and none of the online tutorials or forums seem to address it.

share|improve this question

migrated from stackoverflow.com Jul 18 '13 at 3:22

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 2 down vote accepted

I could make it a long answer but it would be a waste of time to write it, taking into consideration the fact that unity has made a great tutorial covering every step.

http://www.youtube.com/watch?v=Xx21y9eJq1U

Quick steps to animating a character:

  • Watch the Mecanim tutorial video I would have never figured out how it works before trying to figure it out yourself and asking on any website. It is just 20 min for what you are asking, don't quit.
  • Drag and drop the rigged character into the project folder
  • Create a mecanim avatar for the character http://docs.unity3d.com/Documentation/Manual/CreatingtheAvatar.html
  • Create an animation controller for your character

The Mecanim 4.0 tutorial covers EVERYTHING (in 48 minutes)

share|improve this answer
    
Thanks for the links! My actual question was not as broad as the title of my post would suggest, and I was unable to find solutions to my actual questions despite extensive Google searching; however, I'll definitely check out these links. –  ueronica Jul 18 '13 at 13:32
    
That video link is broken now, is this the video? youtube.com/watch?v=Xx21y9eJq1U –  jhocking Mar 22 at 17:05
1  
also there is a tutorial section about this now unity3d.com/learn/tutorials/modules/beginner/animation –  jhocking Mar 22 at 17:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.