you can’t set path.corners, I’ve been trying alot of things. the closest I got to making a snaped path was setting its real path to the first corner of the snaped path, but when its destination is in the agent’s sight the first path corner will change to the destination (which is snapped) before the agent goes all the way to the first corner making it take a sharp turn
I’m not shrinking the navmesh there’s reasons I’m not
SnapAi(Vector3) handles snapping and putting it on the Navmesh at the same time