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

Problem with 2D Player Animation

Discussion in 'Animation' started by zakato, Apr 18, 2014.

  1. zakato

    zakato

    Joined:
    Oct 22, 2012
    Posts:
    4
    Hi, i have a problem with my animation controller. I can not handle correctly the states and the transitions, so that i can activate
    the right animation clip when it have to.
    My target is to have an animation controller that activate the right walking animation when i try to move the player in an specific direction, and activate the right idle animation when i stop to move the player.
    The player can move in 8 direction ( North, South, Ovest, East, North_East, North_Ovest, South_Ovest, South_East ).
    There are the animation clip for each one of the direction, both for walk state, that idle state.
    I've tried many configuration, of states and transitions, but i haven't figure out the right solution.
    So I ask you if someone can help me.

    I post the link to my animation controller, so one can understand better the problem

    https://www.dropbox.com/s/yyohemld64ob7cc/Player.controller
     
  2. zakato

    zakato

    Joined:
    Oct 22, 2012
    Posts:
    4