P0-A10: Part 909: Debugging, Improvements
by PhoenixGames on Jun.13, 2021, under Astral Realms, P-0, P0_A10, Software and Games, Spiritus Astrum
I have been working on adding a criticial feature (or bug fix?) to the AI system.
Currently, the navigation graph is generated when the player lands on the city or geometry that the AI is to be spawned on. The problem with this is that I need to rotate the geometry to a y-up orientation before I can generate the graph, (Before rotating it back again), and this is very noticeable when the user is close to the geometry.
What I am now working on is a way to generate the graph when the city is still far from the player. Then, as the player moves and the floating origin system updates the position of the world, I can either move the graph, or translate the positions from the graph to the correct position of the geometry.