NPC That Uses A* Pathfinding Algorithm

I made AI that follows a part. What’s the catch? It uses the A* pathfinding algorithm instead of Roblox’s default pathfinding service. Ported the algorithm code from this site.

That being said, it’s grid-based and is intended for static/flat maps. I am seriously surprised I got this working.

8 Likes

Can I use it? (tbh i dont really know how to make one for npcs)

Looks cool, would you mind making the project open source?