Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.



This topic is 5547 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I wanna make a real simple pathfinding routine that works like this. - All objects in the gameworld are circles - The only moving object is 1 AI entity - It''s speed is constant (for simplicities sake) - The moment that units LOS to it''s current goal is blocked by another entity, it should adjust it''s heading based on the distance to the blocking unit, it''s current heading and it''s spead. Now the thing I''m not sure how to do is that last part, I can prob. figure out if another circle is blocking the LOS. But I have no clue what kind of vector calculations I should make to get the new velocity. I have done a bit of searching on the internet, about vectors but if someone could point me in the right direction I would be real greatfull. Thanks, Tristan

Share this post

Link to post
Share on other sites
Well you may not find anything in the public domain on the Internet that describes how to avoid obstacles in real-time. I would suggest that you look in the "AI Game Programming Wisdom" book from Charles River Media. It may very well describe some techniques...

Graham Rhodes
Senior Scientist
Applied Research Associates, Inc.

Share this post

Link to post
Share on other sites
Thanks for your reply,

I already own that book...and after some more
searching I think I''ve found something similar to
what I was looking for online...


I hope anyone else can use this to is or her advantage.
If I got something working, I''ll be sure to post it here.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!