Change animation start position

Hi, i have run into a problem as i am new with managing animation in unity. I have two animations attached to a character.One is back flip jump when the character changes its position backward with keyframe.The other is the idle animation.Now after playing the back flip jump animation when its time to play the idle animation the character sweep forward to its initial position instead of playing the idle animation at the position where the backFlipJump animation ended.What is the solution?

I’m assuming that the backflip animation actually moves your character backwards. One solution would be to re-do that animation, with the character going through the movements of a backward flip but staying at the same position. Then programatically move your character backwards when doing a backflip.

Another, simpler but hackier way, would be to simply move your character backwards once the animation is done.