Cataclysmanic / GO2022

4 stars 1 forks source link

redo the navmeshes or change the is_player_present code #52

Closed plexsoup closed 1 year ago

plexsoup commented 1 year ago

sometimes NPCs think the player is present, because they're on the city block, but the player is unreachable because the navmesh for each little building doesn't extend as far as extents of the city block.

Which means, it could be useful to escalate dynamic navmesh creation. Issue #37

plexsoup commented 1 year ago

I modified buildingTemplate.gd to generate navpolygons for the block automatically, instead of relying on handcrafted bespoke nav polygons.

plexsoup commented 1 year ago

https://github.com/Cataclysmanic/GO2022/commit/ab5046461d38586311991514062245b225e31d11