Search Unity

Jump animation for a moving player

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

  1. AndreasC

    AndreasC

    Joined:
    Feb 12, 2013
    Posts:
    31
    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