I'm using NavigationAgent2D to make my npc follow the player. The game uses a tilemap, navigation + physics layers are set up accordingly.
The problem is that the enemy gets stuck / slides along corners. Pathfinding should consider the radius of the enemy. The docs say
To change an actor's pathfinding radius bake NavigationMesh resources with a different NavigationMesh.agent_radius property and use different navigation maps for each actor size.
I don't know what to do with this information and can't find the right info online either. Could someone give me a pointer on how to do bake a navigation mesh for this case? I specifically really don't want to draw manually draw nav polygons, this stuff should be generated automatically somehow.