Understanding character movement values

So I’m attempting to make my guy jump higher depending on his velocity. I’m not fully comprehending what all of the values are under the character movement.

Any idea how to do this?
Thanks!

Ok, so, the velocity vector can be used to get the current speed of your character. Which means, taking the length of that vector, will give return a number from 0.0 to Max Movement Speed.

In the 3rd Person Template, this is 600 if i remember correctly.

For the jump height. The Jumpheight can be set through changing the JumpZVelocity. A 0.0 JumpZVelocity won’t move the character at all. This variable has a standard value of 600. So if you would plug in the Velocity of your character (or better the length of it), you would have a normal jump at max movement speed and no jump at all if you stand still (or at least you won’t get any height. The animation still fires in this test template). You could now try some calculation, like multiplying the velocity length with 2 to get double the height when moving at max speed or something like that. But that is up to you.

Interesting, so is this what you’re saying? (also just to clarify I’m in 2D, not sure if it matters)

I’m assuming something is incorrect because it’s not working. :stuck_out_tongue:

It still jumps with the default jump Z value.

Oh, i didn’t know you are talking about 2D Characters. If they are not working differently, then try this:

http://puu.sh/eI1qZ/b9c5f95fdb.png

NODE: I am using the Eventick, because i was printing the value to test. Just use it with your Jump Input + the Jump function.

Wow works wonderfully!
Now I just need to play around for what values I want.
Thank you!