YaquiKnow
New member
Using the BD in the UCC/BD Integration Demo, I have a NPC patrolling on top of a shipping container. If the player shoots, the NPC will seek the player and run off the container. The picture below shows the NavMesh on and around the container - I thought that would prevent the NavMeshAgent from moving off the container. I want the NPC to Seek the player and come to the closest point on top of the container while preventing him from taking the step that drops to the terrain. So, a simple elevation diff between NPC and target won't work. What is the best way to get him to move as close as possible without stepping beyond the edge of the Navmesh?