PGD Home

P0-A6: Part 684: City Generator

by on Jan.26, 2020, under Astral Realms, P-0, P0_A6, Software and Games, Spiritus Astrum

I am running into a few serious issues with adding support for the dynamic pathfinding.

The pathfinding itself is fine. I am using the A* pathfinding project to generate the navigation graphs, and this can be done asynchronously.

However, the is another issue. I already have an A* component in my project, which I am using for navigation on board the ship, and there can be only one in the scene.

I need to either modify the way that I am using the pathfinding to have just one instance of the pathfinding script for all graphs, or I could try creating a separate A* component for each object that needed it, (such as a large Ship, City, etc), and disabling all of the other A* components.

The second approach seems slightly easier, so this is the one that I am going with for now.

I have also made some minor cosmetic improvements to the GUI HUDs.

Facebooktwitterredditpinterestlinkedinmail

Comments are closed.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!