An open API service indexing awesome lists of open source software.

https://github.com/gameframex/com.gameframex.unity.paradoxnotion.polynav2d


https://github.com/gameframex/com.gameframex.unity.paradoxnotion.polynav2d

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# 使用A Star 算法的 不规则的2D导航

PolyNav is a lightweight polygonal based 2D pathfinding solution using A*, that is made to be extremely easy to setup, simple and fun to use!

该库主要服务于 `https://github.com/AlianBlank/GameFrameX` 作为子库使用。

# 使用方式(三种方式)
1. 直接在 `manifest.json` 文件中添加以下内容
```json
{"com.paradoxnotion.polynav2d": "https://github.com/AlianBlank/com.paradoxnotion.polynav2d.git"}
```
2. 在Unity 的`Packages Manager` 中使用`Git URL` 的方式添加库,地址为:https://github.com/AlianBlank/com.paradoxnotion.polynav2d.git

3. 直接下载仓库放置到Unity 项目的`Packages` 目录下。会自动加载识别

# 改动功能

1. 增加 `Packages` 的支持

# 插件地址

https://assetstore.unity.com/packages/tools/behavior-ai/polynav-2d-pathfinding-14718

# 使用文档

https://paradoxnotion.com/polynav/

# 以下为原内容

# PolyNav is a lightweight polygonal based 2D pathfinding solution using A*, that is made to be extremely easy to setup, simple and fun to use!

• Define the walkable and obstacle area polygons with ease.

• Generate or update the navigation map in runtime for procedural levels.

• Multiple navigation maps are also supported at the same time.

• Includes a complete steering agent component.

• Optionally enable agents to avoid each other.

• Use an easy API to control your agents. Examples included!

• Includes NodeCanvas tasks (including Seek, Wander and Flee behaviours).

# PolyNav can be great for:

✔ Classic Adventures.

✔ RTS Games.

✔ Side-Scrollers.

✔ Top-Down Shooters.

✔ And many more!