Question by
LazyDog_Rich · May 07, 2017 at 07:48 PM ·
aiprogrammingnavmeshnavmeshagent
How to set closer point to destination on NavMeshAgent?
Hi, I have a problem when the target(player) is not on the nav mesh area, the set destination function asign a closer point to it.
I want to tell it, to asign a closer point in the same Y level to prevent what I show in the screenshot.
I dont know how to prevent this from happen. Also the navMesh area is not too close to walls to prevent AI from walking trought walls
I thanks any help!!
Comment