Back to the main site


Using Influence Maps in Unity for random entity spawning

Posted on by Malcolm

I have previously written about this subject; the project I present here is the fruit of that labor. In order to avoid relying on unconvincing computer-randomness I created a system based on Influence Maps that can be used to ensure that obstacles are spawned randomly but in a human-like, distributed, manner. This is an example of a problem I had identified for the project at hand with no one to teach me what to do. It took me around a week to go from identifying the problem to researching and implementing a solution.

Influence Map in Unity

Influence Map in Unity


 
You can download the Unity project here (approx 1.5 MB). The project is for Unity 4.3.2. When you open the project you can then load the main scene and press play to see it in action.

This entry was posted in Portfolio and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>