Quantcast
Channel: Answers by "IvovdMarel"
Viewing all articles
Browse latest Browse all 145

Answer by IvovdMarel

$
0
0
1) To best find out what's causing the delays, you should use the 'Deep Profile' option. Very often you'll be surprised what's causing it (e.g. you might have something logging to the Console, generally drastically reducing your FPS) 2) As ShadyProductions mentions the algorithm could be optimized. Storing the FindPath result in a variable will make your algorithm twice as fast, and rather than creating two Lists for open and closed nodes, this could just be a property on the node itself that you set,

Viewing all articles
Browse latest Browse all 145

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>