Making 3d streets on an uneven city

Hi folks, I’m new here and also new to Unity so I came here seeking some wisdom. Thanks in advance for any inputs on the matter.

Well, I’m trying to make an uneven city in Unity and haven’t found any workflow to properly place 3d streets with sidewalks, etc. Is fairly easy to find tutorials on how to make scenes with uneven terrains and it is also easy to find modular streets with chunks of roads to snap together and compose a city. My problem is that I can’t find material on how to create uneven terrains with proper 3d streets:

I’ve tried to use heightmaps, but the resolution is too low and this creates a texture problem that much probably would lead to an increase in memory usage. I believe now that the only possible solution is to make 3d chunks of road following the topography I desire, but I’m not sure how it will interact with the rest of the terrain, it seems that making the height adjustments on the terrain to fit it to the streets would be a nightmare on the other hand making the whole terrain of the city inside a 3d editor seems like a waste of resources since unity makes it so well. Does anyone have any useful input on the subject? I would really appreciate receiving your thoughts on the matter, I’m planning on make a small prototype city, but I want something possible of being extended to construct a large city.

Thanks.

Not sure how detailed your road objects etc. are but there is a system that does allow one mesh object to conform to the surface of another on the Asset Store, video below shows an example road being made to fit a terrain surface. The same author also has a system I am using for making my racing circuits that also has a feature to allow the roads to conform to a terrain as well as automatically sculpting the terrain to road, again video below.

2 Likes

That is perfect! You, kind sir, just saved me lots of hours.