Astar NPC Stopping when hitting non walkable terrain

nathanj

Active member
Hey,

Sorry this is such a general question but hopefully someone here can explain where i'm going wrong.

I just cut out a bunch of stuff on my walkable terrain with Astar and now when my npc walks into one of these unwalkable areas they just stop. The Seek node, in thie case, is running but the npc doesn't move, so the tree gets stuck.

Is there something I need to add to the npc for this or some setting that prevents this?

Thanks in advance,
Nathan
 
Is there a path generated by A*? If there isn't then this is likely an A* question for how to handle that situation. If there is the agent should be following it - the agent doesn't know the difference between when is walkable and what isn't.
 
Top