Source Code on GitHub: https://github.com/omarvision/MakeRoa...
Demo of the tutorial : https://simmer.io/@Omarvision
In this Unity tutorial I am going to make a race track road on a terrain from 2 splines. I am musing two splines so that I can make the road have varying widths and so that the road can bank (Ill control it with the splines)
The tutorial will also move and paint the terrain beneath the road. This will make the road look like it's is etched into the terrain.
I will add a drivable car. I will also use gizmos to preview the road that will be created. I will use an editor script so that in the inspector you can press a button and the gizmos review of the road will refresh itself (something you would ant to do after moving a spline knot)