It definitely makes it easier when what is happening that isn't correct is stated.
But at a guess, it looks like your animation update function isn't using deltaTime, so the animation doesn't advance frames. Probably a totalTime+=deltaTime; should be in there.