# Launch Character/Add Impulse not working properly

**URL:** <https://forums.unrealengine.com/t/launch-character-add-impulse-not-working-properly/785813>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [March 7, 2023, 6:13pm UTC](https://forums.unrealengine.com/t/launch-character-add-impulse-not-working-properly/785813 "2023-03-07T18:13:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Red.Spy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Red.Spy](https://forums.unrealengine.com/u/Red.Spy)\
**Post date:** [March 7, 2023, 6:13pm UTC](https://forums.unrealengine.com/t/launch-character-add-impulse-not-working-properly/785813/1 "2023-03-07T18:13:01Z")

</div>

Hello,  
I am trying to implement a “leap towards location” function for an actor in my game, but it does not seem to work properly. I am trying to use the “Add Impulse” function, but it, along with “Launch Character” are not working in the way I intend.  
The vector addition statement makes the Entity aim above the destination’s location to prevent it from leaping into the ground.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/6/6/c66c2fec5cbe122c51a286cd6419f4444724da4e.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/6/e/16e74f6116b97bd89d9fd99aa5d38da2fcc3ddbc.png)

This code just makes the passed Entity jump vertically into the air, regardless of where the destination actually is or what the value of my jump strength is. Do you know why this is happening? I have had similar results with “Launch Character”. I think it might do with how I am calculating the vector the represents the impulse direction.

---

<div class="post-metadata">

**Author:** ![Detach789](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Detach789](https://forums.unrealengine.com/u/Detach789)\
**Post date:** [March 8, 2023, 1:09am UTC](https://forums.unrealengine.com/t/launch-character-add-impulse-not-working-properly/785813/2 "2023-03-08T01:09:31Z")

</div>

These kinds of nodes are difficult to be precise with if you are looking for a very specific result.

If you are using a character containing a skeletal mesh for this leap function, you can try using a root motion animation.

Or, alternately, if you can’t use root motion you could try using a timeline to change the actor’s location.

---

<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:** [March 8, 2023, 8:35am UTC](https://forums.unrealengine.com/t/launch-character-add-impulse-not-working-properly/785813/3 "2023-03-08T08:35:33Z")

</div>

> [@Red.Spy](#):
>
> “leap towards location”

Do you want to jump in a direction or land precisely at the destination. At the moment you’re attempting the former - since we cannot see how you calc Leap Strength.

> you could try using a timeline to change the actor’s location.

Indeed, a different approach that gives you plenty of control:

> [@Launch character to a target location](https://forums.unrealengine.com/t/launch-character-to-a-target-location/479050/4):
>
> I’ve added a couple of bells & whistles, some much needed control, limiters to keep things in check and variables to parametrise it: [[Image from Gyazo]](https://gyazo.com/b9d49c7779bc499909bee261092ebd53) The general idea: we generate a spline between us and the click location with the mid point elevated we use a timeline to project a point along the spline over the timeline duration we adjust player velocity so it chases that point closely In short, it’s a glorified rubberband that works surprisingly well. LMB: set landing location Mouse S…

The above is actually using a movement component, rather than Set Location so you get proper sliding collision all the way.

* * *

And another way to achieve the result would be this:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/0/1/90192278253fcc57963640c705935261a8ba28da.png)

It will require some tweaking.
