- Home /
Problem with Navmesh
Hy! This is the first time, when I use Nav Mash Agent and because of that i have some problems. First of all, I have a character (imported from the Caracters asset) which has a script on it. This script is creating Obstacles when I click. My problem is, when I click all around the player, the enemy (which has the Nav Mesh Agent) must realise that he can not reach the target, and start to destroy these obstacles. I tried to use agent.pathStatus but it is not doing anything for me. (maybe bcs I use in a wrong way)
This is the situation, when the enemy must realise that the player is unreachable:
If you have any idea, please let me know! :)
Answer by NorthStar79 · Nov 24, 2017 at 02:10 PM
here what you need to know : Link
you can check if a target position is reachable with this.
its very simple so i do not explain anymore, but if you need further help please let me know down in comments, i would gladly give more details.
If this Helped please consider marking as true this answer, this will hepl anyone else who loking for the same answer and helps this community grow
Your answer
Follow this Question
Related Questions
A lot of navmesh agents affects ai accuracy 0 Answers
Nav Mesh Agent not smooth 1 Answer
100+ navmesh agents are not accurate 0 Answers
Tank not moving towards player 1 Answer
NavMeshAgent Collision 1 Answer