Skip to content

sharpaccent/Astar-for-Unity

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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

About

A Star Pathfinder, 3 axis, multithreaded for Unity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages