Randomly generated content?
I'm really new to unity - hardly touched the program. I was just wondering if there was a way to randomly generate content? Specifically a path (audiosurf style http://www.youtube.com/watch?v=A71ZJzqMm-k) If there is a way to do this - how would i go around it?
Cheers in advance.
where you refering to a autmantic path that moves the ship to cllide with the colored blocks?
Not really, i want the player to have control over the ship to move across the path.
I dont really want the blocks, i just want the path and the ability to run an moveable object horizontally across the path.
Answer by Julien-Lynge · Apr 18, 2012 at 03:34 PM
Sounds like you want more than to just randomly generate a path. A path is just a collection of points (Vector3s), which you can easily generate randomly in any programming language. Are you wanting to recreate what you see in that video? If so, you should look into procedural mesh generation - there's an example on the Unity website that shows you how to extrude a shape along a path. You can also look into iTween, which is a free library that allows you to create a smooth curve along a series of points.
Your answer
Follow this Question
Related Questions
Choice level in Random Level generator 0 Answers
Dungeon Generator script 0 Answers
Clear path from A to B 4 Answers
Easy chunk prefab creation 0 Answers
How to generate a random 2d world for a 2d endless runner 0 Answers