Search Unity

  1. The 2022.1 beta is now available for testing. To find out what's new, have a look at our 2022.1 beta blog post.
    Dismiss Notice

Jump animation for a moving player

Discussion in 'Animation' started by AndreasC, Dec 8, 2013.

  1. AndreasC


    Feb 12, 2013
    Hi ! :)

    I'm currently working on my first Android game in Unity, and I need some help.
    My player is moving by itself through out the level, and when I hit jump I want my player to do a jump animation.
    I also use raycasts to check collision, so when the player's in a animation I want it to still check collisions.
    My game is a 2D game.

    So I've tried using Unity's animation system, but when the animation plays it resets my players position.
    Any help would be appreciated !

    - Andreas