Hey, guys! I need to randomly generated roller coaster tracks. At the start I have only one straight segment of rails.
How to bend that straight rails to create some complex random generated curved mesh?
You may try Tubes - Creating Tubes | Babylon.js Documentation
Example - https://playground.babylonjs.com/#WW0ALQ#2
You’ll need to write your own function to fill the array with nice random values.
4 Likes
Some other ideas that might be useful.
For curves you can randomize the parameters.
5 Likes