# recastNav
**Repository Path**: mengtest/recastNav
## Basic Information
- **Project Name**: recastNav
- **Description**: java版3D寻路组件
- **Primary Language**: Java
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-01-08
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Easy3dNav [](https://travis-ci.org/SilenceSu/recastNav) [](https://search.maven.org/search?q=Easy3dNav)
基于recast4j封装的Java版本3D游戏寻路组件
### 使用
````
com.github.silencesu
Easy3dNav
1.0.1
````
### U3d数据导出插件
unity中navmesh数据使用以下工具导出 [https://github.com/kbengine/unity3d_nav_critterai](https://github.com/kbengine/unity3d_nav_critterai "kbengine/unity3d_nav_critterai")
### Code Demo
//初始化寻路对象
Easy3dNav nav = new Easy3dNav(String filePath)
//使用寻路接口,寻路
List paths=nav.find(float[] start, float[] end);
注:坐标系和unity中相同,y轴向上。一定要注意。
### 依赖&参考
https://github.com/recastnavigation/recastnavigation
https://github.com/ppiastucki/recast4j
### 学习资料:
http://www.critterai.org/projects/nmgen_study/
### TODO
- 重构引用recast4j包
- 增加新功能
- 增加recastDemo build的文件
- 增加demo.exe 查看工具