Is there a way to avoid walls?

Hi there,

Is there a way to add a “buffer” to avoid walls and edges? Right now my character takes the most optimal path, but this means that they clip walls some of the time.



This depends on which graph you are using.
If you are using the grid graph then tweaking either the Grid Graph -> Collision Testing -> Diameter setting or the Grid Graph -> erosion setting will do the trick (the difference being that the erosion setting will also add a buffer around ledges)

Thanks @aron_granberg. This helps a bit. Is there a way to check if a given point is walkable or not? Basically, I want to give a Vector3 to validate a specific point.


You can use
1 Like