I'm making a game engine and it's time to make realistic jumps. My problem is I can't figure out what jump velocity to set for the player.
There is a gravity vector that decreases player's velocity by G pixels every frame, and the initial jump vector J that only adds to the total momentum once, when the player jumps. I want to be able to simply set a number of pixels for how high the character will jump. How do I make that formula?