# Player orbiting around a target using add force

**URL:** <https://forums.unrealengine.com/t/player-orbiting-around-a-target-using-add-force/456883>\
**Category:** Blueprint\
**Tags:** aim-space, player-rotation, unreal-engine, UE4, question, Blueprint\
**Created:** [October 13, 2019, 10:46pm UTC](https://forums.unrealengine.com/t/player-orbiting-around-a-target-using-add-force/456883 "2019-10-13T22:46:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FesteringWound](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FesteringWound](https://forums.unrealengine.com/u/FesteringWound)\
**Post date:** [October 13, 2019, 10:46pm UTC](https://forums.unrealengine.com/t/player-orbiting-around-a-target-using-add-force/456883/1 "2019-10-13T22:46:12Z")

</div>

Hello Everyone,

I’m trying to work on a targeting system where you rotate around a target and circle it in a 3D space. This will be in 0 gravity (space). I want to use add force or some physics variant to get my player to properly rotate around the object in an orbit without moving closer to or farther away from the target. Currently I’m using this as a set up… (get pitch is just my controller axis)

> **[Gyazo](https://gyazo.com/6812910d3f7586638a55dace52957f9e)**
>
> Easily capture screenshots, GIFs, and replays that are ready to share. Download the free app for windows and mac.

> **[Gyazo](https://gyazo.com/4a5782b71f7244d6af0bb83b5d8cf61b)**
>
> Easily capture screenshots, GIFs, and replays that are ready to share. Download the free app for windows and mac.

And this is the result…

> **[Gyazo](https://gyazo.com/e48b416bbfdb945c0f7989b92beefb39)**
>
> Easily capture screenshots, GIFs, and replays that are ready to share. Download the free app for windows and mac.

I keep flying backwards… I’ve tried to only add force in certain axis but that doesn’t work as well. I’m not as keen about rotation math and am new to developing. Would really appreciate some help or a direction on a video / article I could consume to learn more about radial movements / calculations.

Thank you!

---

<div class="post-metadata">

**Author:** ![apurveyorofgames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@apurveyorofgames](https://forums.unrealengine.com/u/apurveyorofgames)\
**Post date:** [October 14, 2019, 5:22pm UTC](https://forums.unrealengine.com/t/player-orbiting-around-a-target-using-add-force/456883/2 "2019-10-14T17:22:15Z")

</div>

THE ANSWER IS CENTRIPETAL MOTION THE FORCE MUST BE DIRECTED INWARD AT V^2/R M/S^2

---

<div class="post-metadata">

**Author:** ![FesteringWound](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FesteringWound](https://forums.unrealengine.com/u/FesteringWound)\
**Post date:** [October 15, 2019, 12:18am UTC](https://forums.unrealengine.com/t/player-orbiting-around-a-target-using-add-force/456883/3 "2019-10-15T00:18:35Z")

</div>

Hm. Figuring out how to get the equation to be input into the Add Impulse, thanks!
