window
git submodule update --init -- "aoi"
cd build
g.bat
打开 NavMeshScene.sln
linux
git submodule update --init -- "aoi"
cd build
g.sh
make config=release_x64
| 相关内容 | 说明 |
|---|---|
| 测试例子 | tests/test1 |
| 场景大小 | 1000 * 1000 |
| 游戏对象数 | 5000 |
| AOI半径 | 0.6 |
| 一次op | 所有游戏对象都做一次移动 |
测试机器配置
阿里云ECS服务器,配置: 1 vCPU 2 GB (I/O优化) ecs.t5-lc1m2.small 1Mbps
动态障碍物,可以改变地形NavMeshScene 加载的地图资源使用 exampe2 工具导出的。
exampe2 在 recastnavigation 工具基础上,对文件头做对齐处理;增加了地图bounds等信息这些操作。
同时,也支持 recastnavigation 原工具导出的资源格式。
offMeshLink增加跳跃的功能与例子