Creating a charge build up to jump?
Im using the third person blueprint file, what i want to accomplish is, while the player holds the spacebar, it can take the amount of time the button is held, and multiply that by a "jump force". So that the longer/shorter the player holds the button, the more or less charge he builds up. And when the button is released, do a jump based on those parameters. Of course there needs to be a maximum force the player can charge up.
how would i go about doing this in blueprints?
I have made my own Charge Jump by using this video tutorial as a basis:
Here is an image of my setup with my own personal changes:
Charge Cooldown's Default is 1.5, every other float is 0. All Bools are False by default.
You will need to do a "View Image" to see the whole thing. Let me know if you have any questions or if this helps you.
answered Aug 11 '14 at 04:00 PM
I'm sure there's a bunch of ways to do this (may already be on AnswerHub) but here's one way you could do it:
You'll have to play with the variables to get the desired effect. The Charge_Jump Event is called by an Event Tick so it runs every frame into the Gate. The functionality is there, have at it and make it better!
answered Apr 07 '14 at 09:00 PM
DizzyWes ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here