rujuro on 16/10/2005 at 21:35
I'm having a very strange problem, I have a number of AI that are patrolling a courtyard. They had been working fine, but recently they've been reaching a point in their patrol path and then just stopping there. They never start patrolling again. They're still aware and react to me, but after they chase me they just go back to that one patrol point and stand. The point they stop at seems random, it's different every time, they'll patrol their full circuit numerous times, then just stop for no reason that I can see. Anyone have any ideas about what might cause this? I really need some help here.
The only clue I can think of is that I recently added an AI near them that gets triggered to switch patrol paths, the problem seemed to start after that. They shouldn't be affected though.
EDIT: Nevermind, I rebuilt the patrol points and add AI points from scratch, and they seem fully functional now.
nomad of the pacific on 16/10/2005 at 22:46
Perhaps the AI that changes paths makes the other AI see their path as blocked? Are your paths linear (exclusively from one point to the next) or are there multiple possible paths from each point?
rujuro on 17/10/2005 at 04:26
Well, at various points I had both. I tried completely linear as well as radially splitting off of a single central point. Both approaches were breaking, so I just deleted all of the points and rebuilt from scratch with linear paths. Works fine now.
Durinda D'Bry on 17/10/2005 at 11:51
I had similar problems. Once it was probably due to my fault: I put patrol point not near the ground but little bit higher than guard head. It seems as patrolling behaviour is stochastic because sometimes he may pass this point, sometimes not:) Also I had very strange behaviour of path routing, once it was something like: I had big empty room with no any obstacles (and I've checked, navmeshes were built OK), in some point "path router" (something that builds and shows on views paths when you connect one point to other) showed me (by cyan lines) that guard should go to the some place near the center of the room and only after that step to the next point (and guard shouldn't change his direction radically to reach next point, I'm sure) :) Only when I removed all path points in this route and put them again in approximately the same locations it is started to work.