- Home /
how to generate the path or road in unity 3d
i am doing one project in unity . and i want to generate the path or road automatically for my car race game .actually i want to my road will be like a curve
thanks in advance
Answer by Graham-Dunnett · Mar 22, 2013 at 11:40 AM
There are two approaches:
Think of the problem like a kids train set. Build sections of road that fit together. The problem with this, just as with a real kids train set, is it can be hard to make the pieces align properly at the end.
Use a spline that you can position the nodes randomly and then extrude the road sideways from this spline.
I'd pick 2, but then I love splines. ;-)
Your answer

Follow this Question
Related Questions
iTween : change path in current point 4 Answers
Cloud recognition in Vuforia 0 Answers
path of xml file 1 Answer
How to draw an elliptical circle path for animated object? 1 Answer
draw a path in game with touch and move player on it 0 Answers