# Is there a way to stimulate jumping using Blueprint?

**URL:** <https://forums.unrealengine.com/t/is-there-a-way-to-stimulate-jumping-using-blueprint/277565>\
**Category:** Blueprint\
**Tags:** jump, unreal-engine, Blueprint, question\
**Created:** [March 20, 2014, 5:58pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-stimulate-jumping-using-blueprint/277565 "2014-03-20T17:58:30Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon71575017](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon71575017](https://forums.unrealengine.com/u/anon71575017)\
**Post date:** [March 20, 2014, 5:58pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-stimulate-jumping-using-blueprint/277565/1 "2014-03-20T17:58:30Z")

</div>

I feel that this is stemming from my lack of experience with Blueprint, but I shall ask nonetheless. So far I have the Blueprint set up to work properly, however I must use the “Jump” function (may not be the appropriate term) in order to actually jump. It appears that the function has its own way to track whether I am in the air or not, and this interferes as I am keeping track of that. Is there a way to simulate jumping using Blueprint, change/modify the jump function, or must I resort to C++? Thank you in advance to all responses!

 ![schedule.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/9/e/f9eac624bf00e54ed8d3bb33e4cb4d517532f37d.png)

---

<div class="post-metadata">

**Author:** ![NickDarnell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NickDarnell](https://forums.unrealengine.com/u/NickDarnell)\
**Post date:** [March 20, 2014, 6:31pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-stimulate-jumping-using-blueprint/277565/2 "2014-03-20T18:31:56Z")

</div>

Yeah - the jump command is pretty specialized. But this is totally achievable with just blueprints! The Swing Ninja sample from the Marketplace should give you a pretty good idea how to implement double jump. Essentially instead of calling jump, you can just use the AddForce blueprint node, to impart the physical force you want and as often as you like.

Alternatively, you can set the Velocity of the CharacterMovement component directly (which is what swing ninja actually does)

Cheers,  
Nick (Epic Games)

---

<div class="post-metadata">

**Author:** ![anon71575017](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon71575017](https://forums.unrealengine.com/u/anon71575017)\
**Post date:** [March 20, 2014, 6:52pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-stimulate-jumping-using-blueprint/277565/3 "2014-03-20T18:52:10Z")

</div>

Exactly what I was looking for. Thank you!!

---

<div class="post-metadata">

**Author:** ![PeterLNewton](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PeterLNewton](https://forums.unrealengine.com/u/PeterLNewton)\
**Post date:** [March 20, 2014, 7:17pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-stimulate-jumping-using-blueprint/277565/4 "2014-03-20T19:17:26Z")

</div>

I just figured out your problem, but I can see someone from Epic has already helped you.

Either way, here it is!

 ![double+jump.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/2/e/d2e744bf2d4244244b32249642527ff54f1c87b5.png)

---

<div class="post-metadata">

**Author:** ![anon71575017](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon71575017](https://forums.unrealengine.com/u/anon71575017)\
**Post date:** [March 20, 2014, 7:47pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-stimulate-jumping-using-blueprint/277565/5 "2014-03-20T19:47:17Z")

</div>

More answers are always a good thing for archival purposes. Thank you as well!

---

<div class="post-metadata">

**Author:** ![venain](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@venain](https://forums.unrealengine.com/u/venain)\
**Post date:** [March 21, 2014, 7:40am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-stimulate-jumping-using-blueprint/277565/6 "2014-03-21T07:40:17Z")

</div>

I have what is probably an extremely nooby question, but how do you get the target slot for your “set variable” nodes? Specifically the one that sets velocity with the character movement target.

I’m currently trying to make my own character controller with a custom jump, and its little things like this that keep stumping me. Thanks in advance!

---

<div class="post-metadata">

**Author:** ![PeterLNewton](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PeterLNewton](https://forums.unrealengine.com/u/PeterLNewton)\
**Post date:** [March 21, 2014, 7:54am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-stimulate-jumping-using-blueprint/277565/7 "2014-03-21T07:54:20Z")

</div>

No worries. When you’re in your Blueprint Class. Access the nodes and search for " **Get Character Movement**" under " _Variables_ " and then " _Character_ ".

_Edit:_  
Also, if you happen to have the problem I had earlier attempting to get the _Set Jump ZVelocity_ Node. You can start by creating the " **Get Character Movement**" Node, pick and drop the link. From there search for " **Set Jump ZVelocity**" under " _Variables_ " and then " _Character Movement_ ". (Make sure to have Context Sensitive on.)

---

<div class="post-metadata">

**Author:** ![venain](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@venain](https://forums.unrealengine.com/u/venain)\
**Post date:** [March 21, 2014, 8:08am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-stimulate-jumping-using-blueprint/277565/8 "2014-03-21T08:08:22Z")

</div>

Ah hah! I’ve got to remember to try dragging nodes onto the canvas and searching for the things I need, thanks a bunch!

---

<div class="post-metadata">

**Author:** ![Eterz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Eterz](https://forums.unrealengine.com/u/Eterz)\
**Post date:** [March 22, 2014, 1:00am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-stimulate-jumping-using-blueprint/277565/9 "2014-03-22T01:00:30Z")

</div>

Hi SilentX`, I have added the exact same graph to the Side Scroller example into the character blueprint, but all I get is a small jump and still no double jump. Is there something I am missing? Thanks in advance

---

<div class="post-metadata">

**Author:** ![PeterLNewton](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PeterLNewton](https://forums.unrealengine.com/u/PeterLNewton)\
**Post date:** [March 22, 2014, 2:53am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-stimulate-jumping-using-blueprint/277565/10 "2014-03-22T02:53:07Z")

</div>

Hey Eterz, can you post that section of your Blueprint?

---

<div class="post-metadata">

**Author:** ![Eterz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Eterz](https://forums.unrealengine.com/u/Eterz)\
**Post date:** [March 22, 2014, 3:05am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-stimulate-jumping-using-blueprint/277565/11 "2014-03-22T03:05:38Z")

</div>

sure, here it is:

 ![1968-blueprintjump.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/f/f/6ff20efb5aec1464acb17440943b4df684a427b7.jpeg)

---

<div class="post-metadata">

**Author:** ![PeterLNewton](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PeterLNewton](https://forums.unrealengine.com/u/PeterLNewton)\
**Post date:** [March 22, 2014, 3:13am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-stimulate-jumping-using-blueprint/277565/12 "2014-03-22T03:13:43Z")

</div>

I would suggest adding a breakpoint to Set Velocity, to ensure its adding velocity but also that it is fired.

Here is an updated Blueprint of the same setup using the SideScroller Blueprint Example.

 ![1972-double+jump+2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/7/3/173895c6e87bbb14faccf8aa0f840076f9bef1f8.jpeg)

---

<div class="post-metadata">

**Author:** ![Eterz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Eterz](https://forums.unrealengine.com/u/Eterz)\
**Post date:** [March 22, 2014, 3:28am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-stimulate-jumping-using-blueprint/277565/13 "2014-03-22T03:28:14Z")

</div>

Awesome, thanks a lot SilentX` 🙂

---

<div class="post-metadata">

**Author:** ![PeterLNewton](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PeterLNewton](https://forums.unrealengine.com/u/PeterLNewton)\
**Post date:** [March 22, 2014, 3:59am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-stimulate-jumping-using-blueprint/277565/14 "2014-03-22T03:59:55Z")

</div>

No problem, let me know if you have any issues!

---

<div class="post-metadata">

**Author:** ![Venerati\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Venerati\_1](https://forums.unrealengine.com/u/Venerati_1)\
**Post date:** [April 6, 2014, 10:08pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-stimulate-jumping-using-blueprint/277565/15 "2014-04-06T22:08:13Z")

</div>

Hello,

I have attempted both methods of double jump implementation shown here and have yet to get either of them to work. There are no errors of any sort just that the character just jumps normally. Here is what I have in the program currently. Any advice would be greatly appreciated

 ![3350-doublejumping.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/a/f/daf33c9241a92a88f6c7ac4e17729fd369d813cb.png)

.

---

<div class="post-metadata">

**Author:** ![GregBlast](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GregBlast](https://forums.unrealengine.com/u/GregBlast)\
**Post date:** [April 7, 2014, 10:07pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-stimulate-jumping-using-blueprint/277565/16 "2014-04-07T22:07:59Z")

</div>

You seem to all want to go pretty complex. What about making it simpler like:

[http://puu.sh/803oW.jpg](http://puu.sh/803oW.jpg)

- have the default “Jump” function do its job
- add 2 boolean variables (one as flag for “first jump” and one as flag for “double jump”)
- double-jump only if “double jump” flag is false
- first time you jump set the first flag, second time you jump set the second flag
- add Z velocity as an action when jumping (in addition to default “jump”, that’s no big deal)
- when player lands reset both flags to false and you’re good to go again

---

<div class="post-metadata">

**Author:** ![FlyingMongoose](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FlyingMongoose](https://forums.unrealengine.com/u/FlyingMongoose)\
**Post date:** [April 8, 2014, 10:20am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-stimulate-jumping-using-blueprint/277565/17 "2014-04-08T10:20:26Z")

</div>

I see all kinds of really complex ways to pull off a double jump.

I came up with the following double jump method in my Blueprint, it seems to work effectively.

 ![3472-simpledoublejump.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/f/f/cff4849067acfd428e8bd8db7e6b1540f72a39be.png)

It works well for my purposes and I’m sure there are plenty of ways to derive from this. Hope this helps some people. My next one is going to be a wall jump.

---

<div class="post-metadata">

**Author:** ![PeterLNewton](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PeterLNewton](https://forums.unrealengine.com/u/PeterLNewton)\
**Post date:** [April 8, 2014, 10:47am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-stimulate-jumping-using-blueprint/277565/18 "2014-04-08T10:47:10Z")

</div>

You prove a point. Your solution made my rethink my approach. Thank you for that. I’m going to use this for my next video tutorial. I’ll credit you for inspiration.

 ![3482-doublejumpsimpler.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/d/7/fd7ce3e5f7386868362c584ce0eac6190965158d.png)

---

<div class="post-metadata">

**Author:** ![FlyingMongoose](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FlyingMongoose](https://forums.unrealengine.com/u/FlyingMongoose)\
**Post date:** [April 8, 2014, 11:37am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-stimulate-jumping-using-blueprint/277565/19 "2014-04-08T11:37:17Z")

</div>

Glad I could help and that a solid more compact version can come out of this, these things are why I like being a part of these communities 🙂

Don’t forget the ‘Launch Character’ function will increment speed on the vectors. So, if you don’t want to potentially have a rapidly accelerating character, set ZOverride to true (this is also useful if you’re making a “Dash” function, as well as “Wall Jumps”).

---

<div class="post-metadata">

**Author:** ![GregBlast](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GregBlast](https://forums.unrealengine.com/u/GregBlast)\
**Post date:** [April 8, 2014, 11:58am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-stimulate-jumping-using-blueprint/277565/20 "2014-04-08T11:58:35Z")

</div>

Ok I haven’t used either Gate, FlipFlip or LaunchCharacter yet. Didn’t know about them. Will have a try to see those in action once I’m back home.

[Next page](https://forums.unrealengine.com/t/is-there-a-way-to-stimulate-jumping-using-blueprint/277565.md?page=2)
