Yoko http://forum.yoko.com.ua/ |
|
pathfinding http://forum.yoko.com.ua/viewtopic.php?f=17&t=18217 |
Page 1 of 1 |
Author: | solin [ 2018-02-16 15:48:39 ] |
Post subject: | pathfinding |
Hi guys, I am in the middle of writing new mining script and I think this is the hardest part now, to create a pathfinding algorithm. I can tell what statics are good to as part of the path, I can tell what are not good and I can tell what objects are making tile impassable for me. With these known facts, I should be able to write the pathfind sc, but I lack the idea about the proper algorithm, any idea how to solve it? even in theory, it could help a lot now, or if you know some working pathfinding sc, where I can define target coords, or to define good and bad statics to move on etc, if you could link me to it, would be great. also is there a way for function to return 2 arrays? return array1,array2 ? |
Page 1 of 1 | All times are UTC+02:00 |
Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |