Skip to content

My second attempt at Pathfinding on a sphere. This time it actually works and is fast (enough).

Notifications You must be signed in to change notification settings

enfyy/SpherePathfinding_v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpherePathfinding_v2

My second attempt at Pathfinding on a sphere. This time it actually works and is fast (enough). It uses a Icosphere that was subdivided (7 times) as a Mesh. Every triangle of the mesh represents a node for A* Pathfinding. The grid gets created automatically from the Mesh.

img Blue tiles: Start and end node
Green tiles: Path
Red tiles: unwalkable nodes / obstacles

How to use:
Left click: find path from Player object to Mouse position
Middle click: toggle clicked node unwalkable status
Hold right click: rotate sphere

About

My second attempt at Pathfinding on a sphere. This time it actually works and is fast (enough).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages