How to check if target is reachable navmesh
I'm using a Behavior tree for my AI with a priority system where I list all types of enemies. I want to check the reach-ability of all enemies using a priority list.
However when I'm checking an enemy that is enclosed by towers (see image)
the Find Path to Location Synchronously returns true.
I'm guessing this is because it is on the navmesh but as you can see it's enclosed and it shouldn't be reachable.
As you can see here
The enemy is stuck on the wall but thinks he has reached the target in the middle of the wall. I want to check if the enemy between all the towers is actually reachable.
Is there something that I'm missing? Any help is greatly appreciated.
asked Sep 22 '15 at 10:44 AM in Blueprint Scripting
To add onto what Erasio was saying.
When you character is told to navigate the path, you can pull from this node to know if it has not reached its destination.
Another option is Find Path to Actor/Location Synchronously which returns a Navigation Path. This can also check if its Partial.
answered Sep 29 '15 at 07:04 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here