# RTS Road dragging

**URL:** <https://forums.unrealengine.com/t/rts-road-dragging/1263017>\
**Category:** Programming & Scripting\
**Tags:** rts, unreal-engine\
**Created:** [August 16, 2023, 4:19pm UTC](https://forums.unrealengine.com/t/rts-road-dragging/1263017 "2023-08-16T16:19:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MajekPL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MajekPL](https://forums.unrealengine.com/u/MajekPL)\
**Post date:** [August 16, 2023, 4:19pm UTC](https://forums.unrealengine.com/t/rts-road-dragging/1263017/1 "2023-08-16T16:19:04Z")

</div>

Hi,  
I want to create a draggable road for my RTS game, but wondering what the best implementation is.

1. I tried to use a spline, unfortunately it creates rounded roads, while i would like them to be 90 or 45 degrees based on a grid
2. Was thinking about a A\* pathfinding algorithm and just creating a road tile per grid square
3. Is there a possibility to use UE pathfinding system to give start and endpoint as vectors and receive an array of vectors to place tiles?

Any other idea?

Thanks!
