cg小白兔 发表于 2023-4-7 09:59:17

【更新】AStar 2D Tile Based Pathfinding 1.2.3寻路解决方案

















September 2016 - Major Update
AStar 2D is a complete pathfinding solution for 2D tile or grid based Unity games. It is ideally suited to top down tile based games and tower defense games but can easily be adapted to work in other scenarios.

Features
- Quick and easy setup / integration into existing projects
- Includes easily expandable agent class for path following
-Support for dynamic obstacles using 2D colliders
-Supports node weightings to influence paths based on a penalty value
- Dynamic route updates for changing environments
- Supports any number of search grids
- Assign different grids to different agents to reduce the search space
- Enable / disable diagonal movements in the click of a mouse
- Offload the expensive pathfinding calculations to separate threads to maintain maximum performance (All done behind the scenes, works out of the box)
- Includes visualization tools to help with debugging and analyzing performance
- Includes example scenes and stress tests
- All scripts use custom namespaces to prevent clashing type names
- Comprehensive .chm documentation of the API for quick and easy reference
- Fully commented C# source code included


2016年9月--重大更新
AStar 2D是一个完整的寻路解决方案,适用于基于2D瓦片或网格的Unity游戏。它非常适用于自上而下的瓦片游戏和塔防游戏,但也可以很容易地适应其他场景的工作。

特点
- 快速和简单的设置/集成到现有项目中
- 包括易于扩展的代理类,用于路径跟踪
-支持使用2D碰撞器的动态障碍物
-支持节点加权,根据惩罚值影响路径。
- 对变化的环境进行动态路线更新
- 支持任何数量的搜索网格
- 将不同的网格分配给不同的代理,以减少搜索空间
- 点击鼠标即可启用/禁用对角线运动
- 将昂贵的寻路计算卸载到独立的线程,以保持最大的性能(所有这些都在幕后完成,开箱即用)
- 包括可视化工具以帮助调试和分析性能
- 包括示例场景和压力测试
- 所有脚本都使用自定义命名空间,以防止类型名称冲突
- 全面的API的.chm文档,便于快速和容易的参考
- 包括完全注释的C#源代码





页: [1]
查看完整版本: 【更新】AStar 2D Tile Based Pathfinding 1.2.3寻路解决方案