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

Character moves even after coming to idle condition from walking condition

Discussion in 'Animation' started by marveltrh, Jul 28, 2018.

  1. marveltrh

    marveltrh

    Joined:
    Jul 22, 2018
    Posts:
    1
    Hello All,
    I am a beginner and working on a small 2d game, where main character moves horizontally based on left and right arrow key press. Here, I have created two animations , one for idle condition and another for walking condition. Walking animation gets activated after left or right arrow key press. However, I am seeing that character still moves even after coming to idle condition from walking condition.Please suggest how I should rectify this issue.
     
  2. magg

    magg

    Joined:
    Sep 29, 2013
    Posts:
    74
    Uncheck "has exit time".