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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug Mecanim is "countertwisting" 2021.1.5f1

Discussion in 'Animation' started by Ne0mega, Jul 3, 2021.

  1. Ne0mega

    Ne0mega

    Joined:
    Feb 18, 2018
    Posts:
    717


    The feet in game are twisting on the ground, while in animation preview (both from import, and from project window) they are planted. FootIK solver on or off does not matter. All bones match correctly in mecanim (hip is with hip, etc). And as shown in preview, the animation is solid. There is no reason for this counter-twisting. It makes NO SENSE.

    For future readers, (and myself). So when I made these animations, I left the hip bone alone. So I am guessing for some reason, when mecanim sees a hip bone with no keyframes, it rotates opposite of what the "spine" bone does. When I gave my hip bone a start and end keyframe (default rotation and location), the counter-twisting stopped.

    I still consider this a bug.
     
    Last edited: Jul 6, 2021