Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sturdyspoon/unity-pathfinding
Find paths in Unity Tilemaps with A* Search
https://github.com/sturdyspoon/unity-pathfinding
2d astar pathfinding unity
Last synced: 3 months ago
JSON representation
Find paths in Unity Tilemaps with A* Search
- Host: GitHub
- URL: https://github.com/sturdyspoon/unity-pathfinding
- Owner: sturdyspoon
- License: mit
- Created: 2019-01-07T13:06:59.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-01T07:30:24.000Z (almost 4 years ago)
- Last Synced: 2024-08-02T05:17:02.060Z (6 months ago)
- Topics: 2d, astar, pathfinding, unity
- Language: C#
- Homepage:
- Size: 464 KB
- Stars: 104
- Watchers: 7
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Pathfinding
Find paths in Unity Tilemaps with A* Search based off Amit Patel's implementation.Download and Import the Pathfinding [package](https://github.com/antonpantev/pathfinding/raw/master/Pathfinding.unitypackage) then use `AStar.FindPath()` like so:
```c#
List path = AStar.FindPath(tilemap, startPos, endPos);
```