Proximity detection with triggers - Sample applicationDec 2, 11:03 PM

An example of flocking code written in Unity, using collider triggers for proximity detection. Each boid starts off in a random direction, and detects others nearby via a sphere collider. The scene will reset every 30 seconds with likely changing behavior.

<div align="center"> This content requires the Unity Web Player<br /> <br /> <a href="http://www.unity3d.com/unity-web-player-2.x">Install the Unity Web Player today!</a> </div>

by Ricardo J. Mendez

Comment

Commenting is closed for this article.