阅读背景:

一个*寻路-如何修改G和H包括粗糙的地形移动成本?

来源:互联网 

I have A* pathfinding implemented in my 2D game and it works well on a plain map with obstacles. Now I'm trying to understand how to modify the algorithm, so it counts rough terrain (hills, forest, etc) as 2 moves instead of 1.I have A* pathfinding implemented in my 2D game




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: