Search Unity

Animations don't show in game

Discussion in 'Animation' started by Destrukt, Mar 20, 2015.

  1. Destrukt

    Destrukt

    Joined:
    Jun 2, 2014
    Posts:
    1
    Hey, I hope you can help me with this one:
    My animations work in blender, in the inspector and there are also no error messages. I tried legacy and generic and also the Debug message shows that the function is called.

    At the top you can see my character ingame and the console (no errors)
    next to it, there are my animation and the RPG_Animation script which handles them. here is the method which is called when the state is set to "Idle":
    public void Idle(){GetComponent<Animation>().CrossFade("Idle");}
    The rest is to show that the animations work in blender and in inspector.


    Please help, I am somehow stuck at this. Also I tried using the animator instead of animation and had the same problem.