# How would I go about making a physics object impulse?

**URL:** <https://forums.unrealengine.com/t/how-would-i-go-about-making-a-physics-object-impulse/327509>\
**Category:** World Creation\
**Tags:** how-would-you-do-it, unreal-engine, UE4, Blueprint, question\
**Created:** [August 3, 2015, 3:51pm UTC](https://forums.unrealengine.com/t/how-would-i-go-about-making-a-physics-object-impulse/327509 "2015-08-03T15:51:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anaklosmos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anaklosmos](https://forums.unrealengine.com/u/Anaklosmos)\
**Post date:** [August 3, 2015, 3:51pm UTC](https://forums.unrealengine.com/t/how-would-i-go-about-making-a-physics-object-impulse/327509/1 "2015-08-03T15:51:00Z")

</div>

I am making a local multiplayer soccer game in which all players are in first person. I need to make it so the players will be able to add an impulse to the ball on button click when they are near it, sort of like a kick. There will be no animation, so I don’t have to worry about that, but I need to make the ball fly in the direction that the players are facing when they “kick” it. Thanks.

---

<div class="post-metadata">

**Author:** ![BakonGuy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bakonguy/32/1000091_2.png) [@BakonGuy](https://forums.unrealengine.com/u/BakonGuy)\
**Post date:** [August 3, 2015, 6:34pm UTC](https://forums.unrealengine.com/t/how-would-i-go-about-making-a-physics-object-impulse/327509/2 "2015-08-03T18:34:38Z")

</div>

You will want to use a setup similar to this one

 ![52637-kickball.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/9/4/b94a2b1d54178e0c419cb5994a7cccc67484e7ea.png)

This is all done in the player’s blueprint. Each player will need to get a reference to the ball’s mesh. Kick strength is a float variable within the player blueprint.

An explanation of what’s happening:

1. Get the forward vector of the current player, it will only be 1 long.
2. Multiply the forward vector by the kick strength, now we have a strong force in the vectors direction
3. Apply that force the the Ball mesh 1 time.

Sometimes (depending on the mesh or other variables) the kick strength will have to be really high, so if it doesn’t move try making it bigger.
