Random Road Generation

  1. What do you want to achieve? Keep it simple and clear!
  • Random generating roads
  1. What is the issue? Include screenshots / videos if possible!
  • No clue on where to start
  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
  • I tried looking for a bit, but they’re not what I’m looking for.

I’m working on a mini project and need to make a script for random road generation. Any tips on generation, such as how to handle curves, would be helpful.

Eg. I’d like to know how to start with a base road segment, adding new segments at random angles and lengths.

I am also worried about optimization upon generating a lot number of parts, although maybe I could do that on my own.

If there is any pseudo code or a plugin that’d help reach the goal or any explanation on how to make it, please let me know. Thanks!

You can try watching Gnome Code’s tutorial, he describes everything very good and his video is about creating a random system generation:

1 Like

I will try this tutorial, thanks.