Simple Jump Function

How’s it going everyone! So, I am made my own jump function and it worked-- relatively speaking. Space bar increases the z axis of my main character, but it’s not as fluid as I’d like it to be.

Here is the Function:


Problems

  • My Jump is not fluid

  • If stationary during jump, my character floats.

Any and all help is greatly appreciated!

It looks to me like you are just moving the Robot’s position on the Z axis a specific amount of units instantly, and then the robot begins to fall back down. What you actually want to do is set the Z velocity of the Robot to a positive value so that it begins to move upwards from its current position on the ground. Gravity will do the rest to gradually bring the Robot back down to the ground.

Thank you very much!

Here is the updated Function!