Animation Reset problem Help! Please

Hi guys i have created a animation in maya and it not your normal animation. The animation actually jumps forward in maya because it is jumping over an object, now the thing is when i export that into unity it will work fine on the same spot but if i add my controller script and make him move forward the result is bad.
Now what happens is the animation goes back to its starting point and does the same thing every time i try.
I have been seen other questions related to this and they say add a parent object to the root and that should solve that, still if i do that the results are the same or the animation wont play.

Please someone help me thank you in advance

You’ve made one huge mistake here.

Never, ever, make the character move on the x and z axes when you’re making any animation thats involved in a walkcycle as it will make everything much more of a bother to work with.

Instaed, just make the jumping animation, where he jumps on the spot, does whatever tricks he has to do, then have him land in the same spot again.

Then in unity you have your character move forward with a certain speed, go into the jump animation when you press space, remember to not loop it.

I’m a bit in doubt about what it is you’re asking for help with, it makes sense that an animation goes back to its starting point next time to play the animation, otherwise you’d have the selected animation run into other clips.

If he keeps doing the jump animation after you’ve jumped, then try unticking the “loop animation” checkerbox in the inspector.

If any of this doesnt help, or is plain unhelpful, please do respond so i can help you :slight_smile: