Random Object Placer for Procedural Design
Submitted by on
Another script that is the result of the ProXedural project at the ZHdK. It produces a somewhat randomly generated level of the size of a collider that is placed over a terrain in Unity 3D.
By using a somewhat mixed approach of completely random raycast placing and placing objects using an array, the script can ensure that the different kinds of objects are distributed all over the terrain.
Again, the script may be oddly specific at times, so you might have to adapt it to your needs if you intend to reuse it.