playMaker

Author Topic: Jump Velocity  (Read 280 times)

Flewda

  • Playmaker Newbie
  • *
  • Posts: 1
Jump Velocity
« on: July 10, 2023, 05:11:32 PM »
Hey there,

I am building a player controller for an FPS, and I've been splicing a few things together. One thing I decided to do is not use the controller jump action for a few reasons. I'm happy with everything except for the fact that the jump doesn't seem to factor in the player's velocity. I am telling the jump to use a custom gravity I setup, and I have stored the player's velocity vector at the time of the jump, but everything I try to do to factor that in doesn't seem to work. So, the only way you move in on X or Z in the air is if you're holding down the input keys. And while I want some level of control with movement keys, if the player is running forward and jumps and lets go of the movement keys, I want that momentum to carry through. Anyone on here have any ideas?

Thanks!

Flewda