WASD, jump 6 studs in direction

Hi,

I want it so when I press WASD, Character jumps 6 studs in the according direction like flappy bird.
Can anyone help me on this?

Sincerely,
-coolguyweir

BodyVelocity works best for this!
You can use MoveDirection too!
I think some parkour scripts have the same techniques…

mk. I’ll check it out. If it works I’ll mark this as solution.

Meanwhile I’ll still be open to suggestions.

Wait, but body velocity is deprecated.
And I have to use linear velocity. When working characters, I’d have to use assemblylinearvelocity.
Screenshot 2022-12-05 at 11.28.57 AM
This is my current work.
It makes the character jump in a direction, but how do I make it jump exactly 6 studs?

You should treat the player as a projectile.

Consider implementing this calculation into your code.