Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question When walking animation loops, it resets the player´s position back to the start

Discussion in 'Animation' started by sofia_sbr, Jul 16, 2020.

  1. sofia_sbr

    sofia_sbr

    Joined:
    Mar 30, 2020
    Posts:
    2
    Hey everyone,

    I´m currently working with timeline. The scene begins with an "idle" animation and then the player transitions to the "walk" animation.

    I want him to walk for a while and thus set the animation setting to "loop". But everytime the animation clip finishes and then loops, it resets the player´s position too (as in, starts back from where he came from, instead of continuing to walk).

    Here´s a video of how it looks like:


    Also added a screenshot of the animations setting:
    upload_2020-7-16_14-54-59.png

    Does anybody know what I´m doing wrong? I want the animation to loop, without the players transform position being reset everytime.

    Thanks in advance