/NavMesh-From-Colliders

Unity tool that prepares the scene for NavMesh baking by generating simple mesh renderers based on the object's colliders, with the intention of improving the precision of the generated NavMesh.

Primary LanguageC#

NavMesh From Colliders

Mesh renderers are often detailed with specific artifacts. Since NavMesh baking is done based on the mesh renderers, it can generate a jerky and unprecise NavMesh.

This small editor tool will prepare the scene for NavMesh baking by deactivating all the mesh renderers and generating simple ones based on the actual colliders, with the intention of improving the precision of the generated NavMesh.

Demo

Quickly switch back and forth from bake mode to normal mode

switch-back-n-forth

Bake the NavMesh

bake

Comparing the results

comparing