3 ms·
Besides the "infinite" part, another problem with this is that the NPC's path isn't necessarily created all at once, but updated as the NPC gets closer to its t
by Izkata 5y ago
Besides the "infinite" part, another problem with this is that the NPC's path isn't necessarily created all at once, but updated as the NPC gets closer to its target / obstacles in it path move around / etc, so there isn't anything to actually check for cycles.