[project1dev] pathing around dynamic obstacles

  • From: Alan Wolfe <alan.wolfe@xxxxxxxxx>
  • To: project1dev@xxxxxxxxxxxxx
  • Date: Sun, 22 Aug 2010 16:41:24 -0700

I have the dynamic obstacle stuff done but hit an unexpected snag.

Basically in script you can define circles (position and radius) that
should be avoided when pathing on the navmesh.  You can also remove
these so when a tree gets destroyed, monsters path through it again.

The trolls will path around dynamic obstacles to their path by
ignoring any possible movements on the navmesh which enter one of
these circles.

So far so good but....

Trolls want to walk to houses and go destroy them but houses are
surrounded by dynamic obstacles.

That means the trolls right now cant ever find their way to a house
because near the end of their path, it always finds an obstacle, so
the trolls just stand around and do nothing :P

need to think about it a little bit to find the best way to solve
it... any ideas are welcomed too (:

==============================
Project 1 Dev mailing list
to unsubscribe, please send an email request to demofox@xxxxxxxxxxx
Project 1 website: http://project1.demofox.org
Project 1 SVN repository: http://pyotek.com/project1

Other related posts: