# Homeworld style rts control

**URL:** <https://forums.unrealengine.com/t/homeworld-style-rts-control/1353390>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [October 30, 2023, 11:53pm UTC](https://forums.unrealengine.com/t/homeworld-style-rts-control/1353390 "2023-10-30T23:53:13Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [October 31, 2023, 4:50pm UTC](https://forums.unrealengine.com/t/homeworld-style-rts-control/1353390/4 "2023-10-31T16:50:40Z")

</div>

> [@November\_3\_Zero](#):
>
> in lieu of having an invisible intersecting plane

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/4/e/04e6c4cf3529b8d59bce8c7fdf98c08bf6f899ab.png)

You can have an imaginary surface to trace against at any angle and placed anywere. It’s a pretty common thing to do, indeed. Trace from the screen center towards the mouse, the trace will intersect the plane giving you the desired intersection. To visualise it:

> [@Line Trace from a 3d point to mouse location](https://forums.unrealengine.com/t/line-trace-from-a-3d-point-to-mouse-location/237661/3):
>
> You’re tracing with a fixed distance of 500, replacing the projection’s X with a fixed value. It’s actually hard to imagine how that would look like, a strangely distorted / twisted undulating surface mayhaps? cool, for sure. I want this trace to stay on the same plane as my character, so the X value of the start point & end point should be the same. Consider the following: green_circle create a virtual plane where the character is and point it towards X (Plane Normal 1,0,0) …

---

_[View the full topic](https://forums.unrealengine.com/t/homeworld-style-rts-control/1353390)._
