Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Mecanim Animation moves character strangely

Discussion in 'Animation' started by Holzklotzkopf, Jun 9, 2014.

  1. Holzklotzkopf

    Holzklotzkopf

    Joined:
    Nov 25, 2013
    Posts:
    14
    Hi guys,
    i have a very odd problem here :/
    I'm using mecanim for my humanoid character and I guess the bones are set up properly in the configuration tab. Also the character is standing in t-pose.
    When the character plays a animation the whole character moves a little bit up and downwards. it doesn't seem to matter which part of the body is moving, the entire character floats a little bit up and down.
    I tried everything, including check the "Bake Into Pose" fields on the animations tab and deactivating "Apply Root Motion". Deactivating "Apply Root Motion" worked well for a similar strange moving problem in my last character setup.

    The Animation plays fine in maya (no unwanted movings of the body) and also with a legacy setup

    Any help will be appreciated.
    I can also upload a video or some pics
     
  2. sfoust

    sfoust

    Joined:
    May 18, 2011
    Posts:
    26
    I'm am having issues with MecAnim well (still working on figuring out best animation practices for Mecanim). However, I started having some success when I gave my characters and all the animation files the same Avatar Definition (rather than allowing them to keep the one that was auto generated on FBX import). I have no idea what this did for my particular case, but it help fix knee and ankle issues I was having.

    Hope this helps.
     
    Last edited: Jun 10, 2014
  3. Mecanim-Dev

    Mecanim-Dev

    Unity Technologies

    Joined:
    Nov 26, 2012
    Posts:
    1,675
    Hi Holz,

    Yes please upload a video, this will help us to help you.

    Normally such case happen because the T-Stance is not good. If your character float it may be because the character foot are not touching the ground in T-stance.

    Take a look at this thread to help you to setup your T-stance
    http://blogs.unity3d.com/2014/05/26/mecanim-humanoids/

    Best regards,
    Sonny
     
  4. Holzklotzkopf

    Holzklotzkopf

    Joined:
    Nov 25, 2013
    Posts:
    14
    Thanks guys for your help :)

    i've done a video to show my problems.
    First you see the animations in maya, they work all fine. Take a look at the foot which is not moving, it stays in the zero position. In Unity, after applying mecanim, adding a avatar, a character controller and so on my character starts to wiggle, if, for example, the wrists are moving around.



    ps. I have read the mecanim setup article, i guess i did it the right way
     
    Last edited: Jun 10, 2014
  5. Mecanim-Dev

    Mecanim-Dev

    Unity Technologies

    Joined:
    Nov 26, 2012
    Posts:
    1,675
    Your setup seem to be fine.

    Can you send us your file so we can take a look why it doesn't work in your case?

    Create a small project in Unity and import only this character file, log a bug and attach your project and then send me your bug case number here.

    Sonny
     
    Holzklotzkopf likes this.
  6. Holzklotzkopf

    Holzklotzkopf

    Joined:
    Nov 25, 2013
    Posts:
    14
    I have done a bug report and attached my scene. My Case Number is: 612991
    :)

    thanks for your effort! I'm very thankful for your help
     
  7. addy55

    addy55

    Joined:
    May 2, 2014
    Posts:
    5
    Having similar issue.. Did you get any solution or work around?
    Any help will be appreciated, thanks in advance.
     
  8. addy55

    addy55

    Joined:
    May 2, 2014
    Posts:
    5
     
  9. iv2b

    iv2b

    Joined:
    Aug 2, 2018
    Posts:
    25
    I'm currently have the same issue as well.

    I've created 2 animations through uMotion and i've tried using both a self-made model and the mixamo robot model.

    While blending between the 2 animations the model's root bone moves, despite none of the animations ever changing its position or rotation (which is exactly what happens in the video).