Relative Content

Tag Archive for c#unity-game-engineanimationraycast

Character is floating in the air when death animation is played in unity

I’m new to Unity and I’ve been trying to make this little short runner game. Everything has been going smoothly except the death animation, which is supposed to be played when either the timer reaches zero or the character’s health ends. The animation plays, but my character is floating in the air as the animations plays.
See below:
Character standing normally
death animation plays