I’ve been looking for a solution to my problem for a while but can’t find one so far… I or the player would like to build paths/roads at runtime. Like in the game Manor Lords. I think it can be done with splines, but I have no idea how to put the generated mesh and textures on the uneven terrain after creation. I don’t need a finished code, but rather an idea how to realize this.
As far as I can tell, this is simply a basic heightmap terrain.
They have a terrain system that allows modification of terrain heightmap at runtime, and when user paints roads, they paint “road texture” over it, and flatten it a bit. There are also decals placed on top of the roads, but that’s pretty much it.
Same thing like Sim City 4 terrain tools, or Cities Skylines terrain tools and so on.
This is a bit older post, but I wanted to correct this… Unreal does not have runtime support for landscapes. They are using RVT, and render to texture for the painting most likely…
They also may be using a mesh for the terrain itself, since this is the only current way in Unreal… its an area that Unreal Lacks…
But with Unity, look up Microverse Roads, Rowlan just made something like this… Not sure if he has it working in runtime or not, but he does for editor…