# How to make an Orbit around the Player, where the Position on the Orbit is controlled by the Cursor?

**URL:** <https://forums.unrealengine.com/t/how-to-make-an-orbit-around-the-player-where-the-position-on-the-orbit-is-controlled-by-the-cursor/487943>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [August 24, 2021, 5:02pm UTC](https://forums.unrealengine.com/t/how-to-make-an-orbit-around-the-player-where-the-position-on-the-orbit-is-controlled-by-the-cursor/487943 "2021-08-24T17:02:26Z")\
**Posts on this page:** 1\
**Showing post:** 8

<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 24, 2021, 7:52pm UTC](https://forums.unrealengine.com/t/how-to-make-an-orbit-around-the-player-where-the-position-on-the-orbit-is-controlled-by-the-cursor/487943/8 "2021-08-24T19:52:33Z")

</div>

> Would you like me to suggest

Were I to approach what was explained above, I’d lean this way:

 ![347204-screenshot-2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/3/3/5336ae20b262f16d8a0d29d7c85e0b6902a4e261.jpeg)

- the Player has the spline (rotation should be flagged as Absolute)
- the CAC creates the Drone actor (so you can replace it with another drone at a whim)

That’s what I understood, but you may have other gameplay plans so it may not be perfect.

* * *

I posted this recently:

> [@Solar System Simulator/Generator](https://forums.unrealengine.com/t/solar-system-simulator-generator/62571/15):
>
> I lifted what was relevant from an old project (opening 4.17 → 4.27 is no fun at all! wink but still pretty stunned it actually opens & works almost out of the box!): Project link: Here’s what this actor can do: Some basic controls for this are exposed but it needs a ton of features to make it useable / more flexible. I’d start with adding controls for how many SMCs are needed for smaller / larger orbits - currently it’s a fixed number. May be fine depending on what this is going to be u…

Perhaps there’s something in there you can leverage. But you may have it covered, ofc. (seeing how your spline is already a neat circle unlike the monstrosity I’ve cobbled together)

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-make-an-orbit-around-the-player-where-the-position-on-the-orbit-is-controlled-by-the-cursor/487943)._
