Search Unity

Question Why is my model leaning to the right and how do I fix it?

Discussion in 'Animation' started by One_Learning_Man, Sep 11, 2023.

  1. One_Learning_Man

    One_Learning_Man

    Joined:
    Sep 30, 2021
    Posts:
    81
    I am new to this and I am using Ellen from Unity: https://assetstore.unity.com/packages/templates/tutorials/3d-game-kit-lite-135162

    I changed her from generic to humanoid and now her run animation is leaning towards the right.

    Ex 1: https://i.ibb.co/hLddrQV/image.png
    Ex 2: https://i.ibb.co/yW1s7zM/image.png
    Skeleton/Rig: https://i.ibb.co/s56TgYT/image.png

    I do see some import animation error:
    Code (CSharp):
    1. Note: Activate translation DOF on avatar to improve retargeting quality.
    2.  
    3. 'Ellen_Spine' has translation animation that will be discarded.
    4.  
    5. 'Ellen_Chest' has translation animation that will be discarded.
    6.  
    7. 'Ellen_UpperChest' has translation animation that will be discarded.
    8.  
    9. 'Ellen_Left_UpperLeg' has scale animation that will be discarded.
    10.  
    11. 'Ellen_Left_LowerLeg' has scale animation that will be discarded.
    If these are the cause, where do I fix this? Am I fixing the model file or the animation file?
     
  2. redblue85

    redblue85

    Joined:
    Aug 28, 2023
    Posts:
    4
    Have you set root motion node to root? I had a similar issue and doing that resolved it.