Hi, I have created a patrol script, however, for some weird reason, they all stopped working randomly. Some run their first patrol then stop, and some just don’t run at all. The Navigation Mesh seems to work as my chasing scripts still work, however. Here is the code that seems to be bugged
(Another patrol point node is out of frame)
Hello TheMagicRock and thank you for posting.
I have attempted to follow your BP work and was unable to reproduce the concern.
If you have any additional information, feel free to share it here. I have noticed my AI tend to fail the patrol when another AI is really close to it. I would test your AI with just one in the level, see if it can cycle through the waypoints. Mine was able to do it alone, but when I added two more AI, they would collide into each other and stop moving.
Using Reciprocal Velocity Obstacle, aka: RVO, helps if the issue is related to your AI collision.
I look forward to your reply.
Here is an image of my AI failing to patrol.
1 Like
hi, I managed to fix the problem
for some weird reason, if the target point is more then waist height above the ground, it ceases to work
1 Like