Search Unity

4.3 blendshape animation combined with skinning from Maya?

Discussion in 'Animation' started by benchang, Nov 22, 2013.

  1. benchang

    benchang

    Joined:
    Nov 22, 2013
    Posts:
    1
    I'm having some trouble combining skinning and blendshapes on my character.

    1. I set up blendshapes in Maya, set keys on them, exported as FBX. in Unity, the blendshape animation plays correctly.
    2. In Maya, I add joints and skin the mesh, export as FBX with the same settings. In Unity, the animation on the joints plays, but the animation on the blendshapes is lost.
    3. The blendshape data is there - I can access it from the SkinnedMeshRenderer - it just doesn't have the animation any more

    Here is an odd workaround:

    1. set up the maya scene with blendshapes and skins. animate normally.
    2. export as FBX with both blendshapes and skins selected as main.fbx
    3. export again as FBX with skins deselected, as anims.fbx
    4. bring main.fbx into the scene
    5. create animator controller
    6. use the clips from anims.fbx instead of from main.fbx for the animator controller, but apply them to main

    It seems like it ought to work without having to go to all that effort though, right? Maybe I'm missing a setting somewhere?
     
  2. pcpc33

    pcpc33

    Joined:
    Oct 2, 2013
    Posts:
    5
    Awesome work around! I had given up, before. I'm going to have to try this out tonight and I'll report back!
     
  3. Adam-Mechtley

    Adam-Mechtley

    Administrator

    Joined:
    Feb 5, 2007
    Posts:
    290
    Have you tried simply selecting FBX version 2011 in the FBX export settings? It should resolve this problem without the need for exotic workarounds.