P0-B5: Part 1263: Debugging, Improvements
by PhoenixGames on Jun.18, 2023, under Astral Realms, Meridian, P-0, P0_B5, Software and Games, Spiritus Astrum
The new AI navigation code works well.
The actual graph generation was working fine, the problem was that the AI could not follow it properly using the localspace graph (I am using the A* pathfinding project).
I have now replaced some of the existing navigation code with some of my own code, and this allows the AI to follow the existing graph.
I have tested this reasonably well, and integrated it into my current system, and so far it works fine. I have also added some simple random actions that the AI can perform in the world, using the new graph system.
I now need to add the ability for these dynamic AI graphs to be created and destroyed correctly upon prompting by the player, as well as possibly add persistence, so that the AI can generate its own graphs when the game loads.