branchsbox/navmesh-tiledcancel
4 Commits over 0 Days - ∞cph!
Fix tileX & tileY not being set in generation cfg
when the tile generation config was created.
This caused all sorts of issues, e.g. incorrect bounds, overwrites of tiles that were already created...
Also don't pad tile bounds on z axis.
Only reinitialize navmesh if tile related properties change
Make navmesh generation parallel & thread safe
Optimization: Shrink tile bounds (Z axis) before generation
Make tests compile (still need to be fixed)
Fix regression caused by typo
Remove obsolete transforms
Get rid of detail nav mesh and other memory improvements
Removes detail mesh and also cleans up polygon mesh after detour navmesh creation. Once we have the detour nav data the polygon mesh isn't needed anymore.
Pull as much logic as possible from C++ to C#
Streamlines the config handling for recast. In particular it gets reduces the amount of duplicated default values and config setup logic. This is achieved by handling almost everything config related in C# now.
Initial tiled navmesh generation
Currently matches previous behaviour but generates in multiple tiles