Restricted pathfinding Area

Posted by SubZeron on Game Development See other posts from Game Development or by SubZeron
Published on 2012-11-04T21:18:35Z Indexed on 2012/11/04 23:19 UTC
Read the original article Hit count: 198

Filed under:
|

So i'm triying to create a little "XCOM : Enemy Unknown" like game ,and using the Aron Granberg's Pathfinding-Tool (free version) to handle the "click to move part. i want to add a little trap system where the hero get stuck inside an area, so he will have only the possibility to move inside this trapped area, so far everything is fine however when i click outside the trapped area, the hero try to reach the destination even though the wall will prevents him from reaching it.

so my question is, is there any way to restrict the area where the pathfinding system work to the trapped area dynamically.

and wich Graph Type is recommended to use in this situation or this kind of Games (Grid Graph/Navmesh Graph/Point Graph).

Thank you.

image link for explanation : https://dl.dropbox.com/u/77993668/exemple.jpg

© Game Development or respective owner

Related posts about unity

Related posts about path-finding