36 ms·
calculate the path once and cache it. only recalculate it if the agent runs into an obstacle or maybe in a random time interval to make it cheaper.
by stefs 10y ago
calculate the path once and cache it. only recalculate it if the agent runs into an obstacle or maybe in a random time interval to make it cheaper.