How can I build a road as a platform?

I want to create a road like this:

So, my road should have side walls and a top texture.

But I don’t know how I can do that. I tried to use a prefab with my part of the road and Spline Instance. However, it doesn’t work - the prefab cannot be bent. Give me some advice, or maybe you can recommend some plugins to do that.

Hi,

Welcome to our community! :slight_smile:

Maybe this tutorial video on youtube is what you are looking for:

Or this:

Also please feel free to join our official Discord server, and ask our helpful community of students for advice.

Good luck!

Thank you for your answer. The second way doesn’t work without editing meshes in Blender.
As for the first one… I don’t know right now. Need check it

I guess I found the best solution for me as a total noob in Unity:

https://assetstore.unity.com/packages/tools/utilities/easyline-spline-mesh-deformer-with-layer-system-369986

In this plugin, you can use a prefab to create a road. Maybe this isn’t optimized, but for my first game, it is enough.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.