- Home /
How to build a road?
Hello!
I want to build a game just like audio surf:
i want to know what i can use for building such a road. i hope you know what i mean. it'd be useful if its possible to create it with a function or calculate it.
i hope you can help me!
are you planing on have it generated due to the sound of a track?
not necessarily. first i want to generate it randomly. than i can think of the sound thing >.<
Answer by Cherno · Apr 17, 2015 at 01:13 PM
It seems lke it's not viable to build the road from prefabs as the segments are all different and bound to an audio track or something. So you are left with building it purely by code. Take a look at the Scripting API for the Mesh class, it includes an example for building a mesh from scratch.
scratch? sorry i'm relative new in that stuff so... it's able to form a mesh by code? that sounds nice... thank you :)
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
How do i do this type of spline?? 1 Answer
Dice Value 1 Answer