阅读背景:

如何使用A-star(A *)找到最“自然”的直接路线

来源:互联网 

I have implemented the A* algorithm in AS3 and it works great except for one thing. Often the resulting path does not take the most “natural” or smooth route to the target. In my environment the object can move diagonally as inexpensively as it can move horizontally or vertically. Here is a very simple example; the start point is marked by the S, and the end (or finish) point by the F.I have implemented the A* algorithm in AS3 and




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

分享到: