Advertisement

Need help with Boid Obstacle Avoidance

Started by April 22, 2011 07:40 PM
0 comments, last by Emergent 13 years, 6 months ago
I am working on a boid simulation and I have the flocking portion working fine, however I can't seem to figure out how to have them steer around obstacles in there paths. All the obstacles are stored in a collection with there x and y coordinates and the obstacles radius ( they are all circles ). For each boid I know it's delta x and y and x and y position, How can I determine if a obstacle is in my path and how do i steer around it? Thanks!
Search the previous posts; you'll find a lot. Also google "Artificial potentials." And check out Craig Reynold's page.

This topic is closed to new replies.

Advertisement