# Add impulse in a certain direction

**URL:** <https://forums.unrealengine.com/t/add-impulse-in-a-certain-direction/465836>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [May 26, 2020, 1:19pm UTC](https://forums.unrealengine.com/t/add-impulse-in-a-certain-direction/465836 "2020-05-26T13:19:42Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_5990fa97](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5990fa97](https://forums.unrealengine.com/u/anonymous_user_5990fa97)\
**Post date:** [May 26, 2020, 1:19pm UTC](https://forums.unrealengine.com/t/add-impulse-in-a-certain-direction/465836/1 "2020-05-26T13:19:42Z")

</div>

Sorry if this is posted I cant find it. To sum it up, I want my character to leap forward, longer than a jump but lower as well. I tried playing about with add impulse but I cant seem to think of the math to get the player to propel in the direction they are facing. Any help or alternatives will be happily accepted  
Thanks

---

<div class="post-metadata">

**Author:** ![anon44386033](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon44386033](https://forums.unrealengine.com/u/anon44386033)\
**Post date:** [May 26, 2020, 1:41pm UTC](https://forums.unrealengine.com/t/add-impulse-in-a-certain-direction/465836/2 "2020-05-26T13:41:32Z")

</div>

Launch character.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5990fa97](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5990fa97](https://forums.unrealengine.com/u/anonymous_user_5990fa97)\
**Post date:** [May 26, 2020, 2:16pm UTC](https://forums.unrealengine.com/t/add-impulse-in-a-certain-direction/465836/3 "2020-05-26T14:16:06Z")

</div>

This still has the same issue as before, I want the player to go in the way it is facing.

---

<div class="post-metadata">

**Author:** ![EvilCleric](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EvilCleric](https://forums.unrealengine.com/u/EvilCleric)\
**Post date:** [May 26, 2020, 2:31pm UTC](https://forums.unrealengine.com/t/add-impulse-in-a-certain-direction/465836/4 "2020-05-26T14:31:21Z")

</div>

Just get the forward vector:

 ![302850-1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/a/3/ea3a8b2938c87d7884e47ff1d9b91c4e374e3edd.jpeg)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [May 26, 2020, 2:40pm UTC](https://forums.unrealengine.com/t/add-impulse-in-a-certain-direction/465836/5 "2020-05-26T14:40:50Z")

</div>

In order to leap forward _and_ up you need to rotate the forward vector first:

 ![302851-annotation-2020-05-26-153623.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/6/0/b60fce4bfe8d26005221b0fea0f2e17e1c2be0d5.jpeg)

30 is the _up_ angle in degrees, 1000 is the magnitude.

---

<div class="post-metadata">

**Author:** ![anon44386033](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon44386033](https://forums.unrealengine.com/u/anon44386033)\
**Post date:** [May 26, 2020, 3:35pm UTC](https://forums.unrealengine.com/t/add-impulse-in-a-certain-direction/465836/6 "2020-05-26T15:35:35Z")

</div>

Negative vote why? As the OP said: “Any help or alternatives will be happily accepted”, and so I did presented with an alternative to Impulse.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5990fa97](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5990fa97](https://forums.unrealengine.com/u/anonymous_user_5990fa97)\
**Post date:** [May 26, 2020, 3:53pm UTC](https://forums.unrealengine.com/t/add-impulse-in-a-certain-direction/465836/7 "2020-05-26T15:53:12Z")

</div>

Thank you for everyone’s help, I didn’t know launch character was even a node so thanks for that, however I did mostly want something that is in the players direction, maybe I should of been clearer that it worked just not in the direction of the player.  
TLTR: Its working and thanks for everyone’s help.

---

<div class="post-metadata">

**Author:** ![nameLive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nameLive](https://forums.unrealengine.com/u/nameLive)\
**Post date:** [May 26, 2020, 7:50pm UTC](https://forums.unrealengine.com/t/add-impulse-in-a-certain-direction/465836/8 "2020-05-26T19:50:59Z")

</div>

Don’t forget to mark it as answered so they get some karma for their answers 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5990fa97](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5990fa97](https://forums.unrealengine.com/u/anonymous_user_5990fa97)\
**Post date:** [May 27, 2020, 10:17am UTC](https://forums.unrealengine.com/t/add-impulse-in-a-certain-direction/465836/9 "2020-05-27T10:17:43Z")

</div>

I am probably so dumb but where is the button to do it, (i’m new to answer hub)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5990fa97](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5990fa97](https://forums.unrealengine.com/u/anonymous_user_5990fa97)\
**Post date:** [May 27, 2020, 10:18am UTC](https://forums.unrealengine.com/t/add-impulse-in-a-certain-direction/465836/10 "2020-05-27T10:18:23Z")

</div>

Have I done it?

---

<div class="post-metadata">

**Author:** ![nameLive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nameLive](https://forums.unrealengine.com/u/nameLive)\
**Post date:** [May 27, 2020, 10:19am UTC](https://forums.unrealengine.com/t/add-impulse-in-a-certain-direction/465836/11 "2020-05-27T10:19:44Z")

</div>

haha yes you’ve done it 😉

---

<div class="post-metadata">

**Author:** ![nameLive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nameLive](https://forums.unrealengine.com/u/nameLive)\
**Post date:** [May 27, 2020, 11:35am UTC](https://forums.unrealengine.com/t/add-impulse-in-a-certain-direction/465836/12 "2020-05-27T11:35:45Z")

</div>

Should really just be Forward Vector \* how much forward you want it to go + some Z so it gets some height.

Check the answer below, same thing but break the vector after \* then + something on the Z then pass it into launch character
