Search Unity

MotionBuilder to Unity. What export for animations only

Discussion in 'Animation' started by Pirs01, Oct 23, 2013.

  1. Pirs01

    Pirs01

    Joined:
    Sep 30, 2012
    Posts:
    389
    Hello,


    I have a scene in MotionBuilder and in it a character with control rig and a take applied to it. I would like to export only the animation data to use with Mecanim. When I save as .fbx what should I check as minimum so that the file has only animation data and what's necessary to import it into Unity?

    pic

    I did try several combinations but with no success.

    Thanks!
     

    Attached Files:

    Last edited: Oct 23, 2013
  2. Pirs01

    Pirs01

    Joined:
    Sep 30, 2012
    Posts:
    389
    After more testing I found that the absolute minimum to get you animations into Unity is to check following:
    - Bones: Element
    - Bones: Animation
    - Models: Element

    It seams it is by design that Unity will take animation from asset of type model so if you don;t include your model Unity says "No animation data available in this model"
    Is that correct?

    That's not what I wanted which is to import a standalone clip asset but that seams impossible?
     
  3. Yamoc4

    Yamoc4

    Joined:
    Jul 26, 2013
    Posts:
    10
    I usually just import the whole model with the animation on it from mobu. I then set up the rig in mecanim real quick. Then if you open the hierarchy in unity you can duplicate just the animation and drag it out. Then delete the model and character.
     
  4. Pirs01

    Pirs01

    Joined:
    Sep 30, 2012
    Posts:
    389
    Great tip. Thanks!
     
  5. kanga

    kanga

    Joined:
    Mar 22, 2010
    Posts:
    225
    Export the animation from the davinci icon area. There are 2 main options one of which will give you just the animation and a ref without all the other stuff.
     
  6. ksam2

    ksam2

    Joined:
    Apr 28, 2012
    Posts:
    1,059
    Sorry for up, But I have similar problem. and seems Yamoc tip doesn't work for me in unity 4.3
    Anybody have any tip for this?
     
  7. VargaPD

    VargaPD

    Joined:
    Mar 6, 2015
    Posts:
    64
    MotionBuilder 2015 - File > Motion File Export
     
  8. VargaPD

    VargaPD

    Joined:
    Mar 6, 2015
    Posts:
    64
    I have only one problem with this. When I use an animation after another, the second animation starts where the first one started. Root motions, is it called? How to apply them?
    If I export only the Motion File, the second animation starts where the previous finished (this is what I want), but there is no Blendshape Animations (used for face expressions).

    Any idea? I am very beginner :D
     
unityunity