How to create a random generated racing game track with walls on the side?
Hello there!
I am creating a racing game with AI trained with Unity machine learning agents toolkit. The agents work well on three tracks I have created, now I would like to try the agent on a random track, generated by an algorithm. Without entering in details of the neural network part let's say I need to have a track with walls on the side (that's essential), turns, and narrow parts.
This is one track I created manually
The perfect fit would be a deformation alongside a random generated closed curve of this object
I found this asset, that's very good but it doesn't have walls on the side.
Ian Hudson's Race Track Generator
This also could be a good asset but without walls on the side again
Sebastian League's Bézier Path Creator
Do you have any suggestions, tutorials, or assets to give me?
Your answer
![](https://koobas.hobune.stream/wayback/20220613013953im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Get the distance covered from a curve line? 0 Answers
How to make an object follow a path when necessary but move forward when holding mouse button? 0 Answers
Bezier Spline Road Issues 0 Answers
GameObject spawning at several Y distance below my spawn point 0 Answers
Random bitmap generator 0 Answers