I use the AIPath component on one of my units right now.
The unit has a patrol state where he searches a random control point and then he finds its way to it. Then he waits for a few seconds, looks around to find enemies and start to find a new patrol point to go to.
During its search phase i want to disable the continous repathing. How is this possible?
In addition, what is a good style here? I am using Local Avoidance as well. Wouldn’t it be enough to just calculate the path once? What is the advantage of doing constant repathing?
Best regards,
T_Schm