Basic AI Functions

Started by
19 comments, last by EnochDagor 20 years, 8 months ago
"To follow up on Baylor, here... the width of the "border" area would have to be determined by the maximum closing speed of the primary object and the fastest unit in the game. That is, if I can travel 2 meters but there is a unit out there that can travel 10, my "border" area needs to be 12. However, if all units move 2 meters, my border only needs to be 4. Of course, the tricky part, which really only delays the initial problem, is determining who is in your "border" area from turn to turn. In the end, you still end up having to check many units"

You also have to add in each object''s bounding radius...

My Website: ai-junkie.com | My Book: AI Techniques for Game Programming

This topic is closed to new replies.

Advertisement