A* Pathfinding Project

Suitable for Procedurally Generated Scene?


#1

The product seem feature rich, but complex. I need a simple solution that allows me generate a navmesh (or other supported tech) for my scene which is procedurally assembled a from prefabricated 3D rooms of arbitrary geometry at runtime.

Can this product do this easily? If so, do I need the Pro version, or will the Free version allow me to get started?


#2

Hi

Yes, you recalculate the graph easily at runtime. Configure the bounding box for it in the editor so that it would cover all the space the rooms may cover, and then simply call this function when the scene has been generated:

AstarPath.active.Scan();

See this page for more information: https://arongranberg.com/astar/docs/graph-updates.php

This can be accomplished with the free version by using a grid graph.