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

idle and running animation

Discussion in 'Animation' started by Henrymon, Mar 8, 2022.

  1. Henrymon

    Henrymon

    Joined:
    May 29, 2021
    Posts:
    24
    i have both an idle and running animation for my character and they seem to be triggering fine. the only thing is that when i stop running the idle animation is always facing forward. my goal is when the running animation stops, wherever the player was running/facing last is what way the idle is facing. how could i do this?
     
  2. SethMeshko

    SethMeshko

    Joined:
    Sep 20, 2014
    Posts:
    109
    Are you using root motion animation?
     
  3. Henrymon

    Henrymon

    Joined:
    May 29, 2021
    Posts:
    24
    i wasn't but i set it to root motion and it didn't change anything.
     
  4. SethMeshko

    SethMeshko

    Joined:
    Sep 20, 2014
    Posts:
    109
    Is your character animated with root motion?
     
  5. Henrymon

    Henrymon

    Joined:
    May 29, 2021
    Posts:
    24
    yes it is