I am interested in making my own custom pathfinder, my maps are usually cramped with varying types of terrain and obstacles, which robloxs pathfinding struggles on and doesn’t seem to properly navigate.
A part of making my own pathfinder is a properly updated navmesh, my game will have destruction physics with certain parts of the map so the npcs will need to be able to properly assess the new geometry and navigate it properly.
Does anyone know the best way to go about creating this? Any tips would be highly appreciated.
You can read this post by @tyridge77 where he discusses how he made his own NavMesh pathfinding system. The thread that post is in is also a very good read in general, could give you some insight!
This uses Roblox’s default NavMesh pathfinding, OP is looking into making his own NavMesh.
I have did this faster and make it 60x FASTER.
I baked the nav mesh , static, so the query just search from nav mesh, no run time baking anymore.
You can take a look at recast & detour.