Smooth / raycast modifier make path go through blocked nodes

I can’t figure out why when using Smooth / Raycast modifiers (which I am using to get more natural movement pattern), when going through corner, it is going through blocks nodes, any help would be great

Hi

Yes, the simple smooth modifier will smooth the path without considering the world geometry. So to use it you need to allow for some margin in your graph. E.g. by changing the grid graph’s erosion setting or increasing the collision testing diameter setting.