Hello Chris, Im haveing a problem with NavMesh Holes, but, only with NPC. In the center of my scene is a hole and my player detect it very well, but when NPC start following player then NPC went through hole without detecting it or go around it. I've look what happened with player and tryed to do the same thing with NPC but its not working. My NPC who follows my player is constantly updating where is player now, instead where was the player second ago when update started (when player goes around that hole i see blue line with pathfinding and it goes all around that hole, thats grat, but when player is on the opposite side and NPC start to follow he goes right throu that hole with no detection) i will screenshot you this but i need to know if there is maybe some bool, check box i forgot to turn on, or maybe in actionlist NPC to follow is set on wrong nubers... i just dont know what to do its importan for my NPC do detect holes.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Update on Link--- http://i.imgur.com/83SzJm0.jpg?1
It looks like you've done everything correctly, so I'll try to recreate this issue on my end. There seem to be a few warnings in your Console window - are any of them relevant?
Change:
pointArray = KickStarter.navigationManager.navigationEngine.GetPointsArray (transform.position, targetPosition);
to:
pointArray = KickStarter.navigationManager.navigationEngine.GetPointsArray (this, transform.position, targetPosition);