AI Destination Setter is causing character to walk through unwalkable area

The green line is the path the AI destination setter has drawn for itself (I drew over it to make it more visible in the screenshot), however the red-line represents where the character is about to walk. How can I make the character more strictly follow the path? I am not using any smoothing settings, everything is default.

Thank you

Hi

I suspect that you ‘pick next waypoint distance’ parameter on the movement script is set too high.

See also the docs for it: Documentation

1 Like

That was it! It was set to 2, I brought it down to 0.5.

Thank you.