# Hot make a floating pawn orbit around character?

**URL:** <https://forums.unrealengine.com/t/hot-make-a-floating-pawn-orbit-around-character/430755>\
**Category:** Character & Animation\
**Tags:** orbit, floating, unreal-engine, pawn, question\
**Created:** [August 1, 2018, 8:32pm UTC](https://forums.unrealengine.com/t/hot-make-a-floating-pawn-orbit-around-character/430755 "2018-08-01T20:32:41Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mosssi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mosssi](https://forums.unrealengine.com/u/mosssi)\
**Post date:** [August 1, 2018, 8:32pm UTC](https://forums.unrealengine.com/t/hot-make-a-floating-pawn-orbit-around-character/430755/1 "2018-08-01T20:32:41Z")

</div>

Hi there,

I want to add a floating pawn to my character like what is in this gif. Can anyone please help me with the approach?  
I think maybe I can use **FloatingPawnMovement** and a magnet force to make it orbit around my character. But I didn’t found any resource for this anywhere.

![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/d/d/cdd5bc8dd5472178a7785091a9c8301db69c35b5.gif)

---

<div class="post-metadata">

**Author:** ![mosssi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mosssi](https://forums.unrealengine.com/u/mosssi)\
**Post date:** [August 1, 2018, 9:57pm UTC](https://forums.unrealengine.com/t/hot-make-a-floating-pawn-orbit-around-character/430755/2 "2018-08-01T21:57:36Z")

</div>

To keep the question up!

---

<div class="post-metadata">

**Author:** ![Nebula\_Games\_Inc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nebula\_Games\_Inc](https://forums.unrealengine.com/u/Nebula_Games_Inc)\
**Post date:** [August 2, 2018, 2:14am UTC](https://forums.unrealengine.com/t/hot-make-a-floating-pawn-orbit-around-character/430755/3 "2018-08-02T02:14:22Z")

</div>

It’s not really “orbiting” per se, just following the character and hovering nearby. This is basic AI follow character with some tolerance for proximity set. This AI will check continuously or maybe more performant when it loses “overlap” with the player from a collision sphere or something it will find player’s new location and Lerp towards it until within the desired range then stop.

---

<div class="post-metadata">

**Author:** ![mosssi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mosssi](https://forums.unrealengine.com/u/mosssi)\
**Post date:** [August 2, 2018, 8:21am UTC](https://forums.unrealengine.com/t/hot-make-a-floating-pawn-orbit-around-character/430755/4 "2018-08-02T08:21:28Z")

</div>

Oh, I’m used to animation world so I didn’t think about AI. Thanks

---

<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:** [August 2, 2018, 8:25am UTC](https://forums.unrealengine.com/t/hot-make-a-floating-pawn-orbit-around-character/430755/5 "2018-08-02T08:25:36Z")

</div>

Nebula Games Inc’s solution is how a grown up would do it. If you need finer control over the movement, then that would be the way to go.

If you require something simple, a Springarm (absolute rotation) with lag enabled and a glowy ball at its end might just do the trick:

[![Image from Gyazo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/e/29eac0eb42c70b516d627faf9e79add124f0cd9a.gif)](https://gyazo.com/99ed0a5b7d66f9ba4a857b8a745a75fb)

Taking into account that it took less to set up than to write this message, it’s not a bad result, and can still be improved by adding simple offset logic combined with variable springarm lag speed based on the player’s action.

tl;dr - needs some tinkering to make it look better

---

<div class="post-metadata">

**Author:** ![mosssi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mosssi](https://forums.unrealengine.com/u/mosssi)\
**Post date:** [August 2, 2018, 8:59am UTC](https://forums.unrealengine.com/t/hot-make-a-floating-pawn-orbit-around-character/430755/6 "2018-08-02T08:59:38Z")

</div>

Hi [@Everyone](https://forums.unrealengine.com/groups/everyone). That’s great man, thanks for answer. I need something like this but I also want to command the sphere to move to a certain location and do something and come back to character. So I guess I should go with AI. Unfortunately YouTube is full of walking AI setup and not a good floating AI.

---

<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:** [August 2, 2018, 10:35am UTC](https://forums.unrealengine.com/t/hot-make-a-floating-pawn-orbit-around-character/430755/7 "2018-08-02T10:35:20Z")

</div>

You’ll need a proper tool for the job, that’s for sure.

Again, all depends on complexity.

 ![249244-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/5/5/655dbadb41838c33614823c52f5a6dee1b4bd1fe.png)

[![Image from Gyazo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/9/a/59afa9f11c02b6d31a835b335b00195a737f40ae.gif)](https://gyazo.com/ed15a9029b31f2beee92420108ac1d11)

Good luck!

---

<div class="post-metadata">

**Author:** ![mosssi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mosssi](https://forums.unrealengine.com/u/mosssi)\
**Post date:** [August 2, 2018, 10:57am UTC](https://forums.unrealengine.com/t/hot-make-a-floating-pawn-orbit-around-character/430755/8 "2018-08-02T10:57:54Z")

</div>

Wow. I really appreciate your time [@Everyone](https://forums.unrealengine.com/groups/everyone). It’s a handy blueprint for me. I added another layer of hovering movement on top of follow move, to look a little more dynamic. Also your Fetch system is really cool. I never used Ease for this kind of movements.

---

<div class="post-metadata">

**Author:** ![Nebula\_Games\_Inc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nebula\_Games\_Inc](https://forums.unrealengine.com/u/Nebula_Games_Inc)\
**Post date:** [August 2, 2018, 12:53pm UTC](https://forums.unrealengine.com/t/hot-make-a-floating-pawn-orbit-around-character/430755/9 "2018-08-02T12:53:41Z")

</div>

That’s a cool system. Glad you guys figured it out.
