Editing navmesh

Is there a way to edit navmesh manually? So you can (for example) make the AI walk a bit more around walls rather than as close to the wall as possible.

Have a look in YourGame - Content - Settings and open up Navigation Settings. You can get more refinement of the mesh by playing with Tile Size and increase the size of the agent with Agent - Radius. You can visualise the NavMesh by clicking on the (tiny!) View button in the top left of the Editor window Show - Navigation. Obviously you want the mesh as coarse as possible for efficiency.

Thank you! Now the ai isn’t attracted to walls anymore!

1 Like