Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sharpaccent/Astar-for-Unity
A Star Pathfinder, 3 axis, multithreaded for Unity
https://github.com/sharpaccent/Astar-for-Unity
Last synced: 3 months ago
JSON representation
A Star Pathfinder, 3 axis, multithreaded for Unity
- Host: GitHub
- URL: https://github.com/sharpaccent/Astar-for-Unity
- Owner: sharpaccent
- License: mit
- Created: 2016-04-23T13:44:26.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-04-29T05:14:45.000Z (over 3 years ago)
- Last Synced: 2024-08-02T05:20:06.606Z (6 months ago)
- Language: C#
- Size: 44.9 KB
- Stars: 365
- Watchers: 26
- Forks: 67
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-opensource-unity - A Star Pathfinding for Unity - A Star Pathfinder, 3 axis, multithreaded for Unity. (Open Source Packages / AI)
- awesome-unity3d - A Star Pathfinding for Unity - A Star Pathfinder, 3 axis, multithreaded for Unity (Open Source Repositories / AI)
README
# A Star Pathfinding for Unity
This is an A* Pathfinder for Unity. It inlcudes 3 axis pathfinding and multi-threading.
Code has comments but if you need more context, take a look at this two videos
https://www.youtube.com/watch?v=w9HZhlF8cb0
https://www.youtube.com/watch?v=an8g7x6pIWw
# Usage
* Drop the components Gridbase and PathfindMaster on a gameObject in your scene.
* Call the PathfinderMaster.RequestPathFind(startingNode, targetNode, callback).
* For callback, use a function that takes a list of Nodes
* The returned list is your path
For more uses of this A* project you can follow me at
https://www.youtube.com/channel/UCq9_1E5HE4c_xmhzD3r7VMw