Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

A run animation is causing my character to levitate! Why?

Discussion in 'Animation' started by Th0masThe0bvious, Jan 17, 2020.

  1. Th0masThe0bvious

    Th0masThe0bvious

    Joined:
    Aug 22, 2018
    Posts:
    80
    I have been doing the tutorial series, Create With Code, and generally it has gone without issue, but then, I ran (no pun intended) into a problem in this part: https://learn.unity.com/tutorial/le...2ca6e8810f&projectId=5cf9639bedbc2a2b1fe1e848

    When I enable my character to play the run animation, she rises into the air gradually. Gravity is turned on, and has little effect. I've confirmed that it's the run animation that causes this, and can even make the character rise and fall by toggling the conditions for running during play. That being said, it's worth noting that earlier in this exercise, I did something that caused the "Run static" motion to be deselected and I have not been able to get it back, so I just replaced it with the non-static run in the animator. However, I have no idea why this animation would levitate the character, as in the preview, the character does not levitate.

    Does anyone know what could be going on here?