How to make a big front jump skill

I am currently making a fighting game. I want to ask If I want to make a front jump skill(here are the details: have a big jump move the front and hit the ground). What is the best method to do this? Should I use animation or use force? If I use animation, I think the character will move back to the original position after the animation finish. Therefore I want to ask how to make a front jump skill.

Thank you

1 Like

I would use both an animation and a force. This would look like when animation is called the body velocity also changes.

but if I use animation, will the character move back the the original position after the animation is finish?

1 Like

Not if combined with velocity, velocity will move the character while you play the animation and so you will end up wherever the velocity is calculated .

Sorry, I cannot understand, can you give more detail?

Here is the problem that I think would happen:

1 Like

So pretty much, you would make an animation that just jumps and slams the ground without moving forward. But then you add body velocity in the script (that PERMANENTLY moves the players character forward). Let me know if this makes any more sense

I think I understand more better, thank you.

but what do you mean with body velocity, you mean AssemblyLinearVelocity?

1 Like

I’m not a pro scripter and so I don’t know what assembelylinearvelocity is but I know that you can use body velocity.

ok, thank you

but is it possible to make a curve line using body velocity/linear velocity?

1 Like

See the curve would be in the animation, the velocity would just push you character forwards while the animation moves it up and side to side if need be. When played at the same time, it should create a curve.

oh, I understand now, let me have a try, thank you!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.