deme94 / pathfinding-a-star Goto Github PK
View Code? Open in Web Editor NEWPathfinding using A* search algorithm for AI (NavMeshAgent) in a game. The NavMesh is not generated automatically, so it must be setup manually placing the nodes (center and 2 corners) in the map. The movement calculates middle points between lines and seems realistic. Note: this version is not working with the new npcs update (I keep the new version in my own account, sorry).