Search Unity

  1. Are you interested in providing feedback directly to Unity teams? Sign up to become a member of Unity Pulse, our new product feedback and research community.
    Dismiss Notice

State Machine in Mecanim Animation frame by frame

Discussion in 'Animation' started by liszto, Sep 19, 2013.

  1. liszto


    Dec 22, 2011
    there is a way to play the time of each state or the animation of each state frame by frame. By this I mean I want allow my player to manage his state tree with mouse for example.
    In that way, if the mouse move to the right the animation is ready and change of state to the next one (accordingly to the blend define between 2 states.). If the mouse move to the left, the animation is read in the other direction and if the mouse stop the animation movement stop too.

    If it's not possible with the current Mecanim mechanic there is another way to do it ?

    Use AnimationState class and manage each blend between each animation by myself ?