I want to make RTS streets that you can place dynamically. I’m using splines for the path. If you want to see what I want to create you can take a look at Manor Lords (https://youtu.be/d2mW8fmakKA?t=25).
Now my question is:
How do I build the streets along the spline?
I think there are 2 ways to create the streets:
- Create a SplineMeshComponent that has the street material and hitbox on it. I would prefer this solution, but my problem here is that the spline doesn’t match the height of the terrain.
So what would be the solution for this?
- Just paint the terrain. But I don’t like this solution a lot. Because I think it is a problem paint a direction and I have to repaint, when I delete the streets and have to match the environment texture.
Hope to get some good ideas on that. Thanks in advance!