Ignore underwater areas

I was curious if there is possible to prevent graph to build in underwater areas (like setting minimum height) ? Let’s say I have a sea level at y=50 in my game. Terrain areas, which are below height 50 are underwater and I want that units would not go into water, i.e. these areas would be ignored in a similar way like high slope areas can be done. How to set that below sea level Recast graph would not be building ?

Hi

I think you should be able to just move the bounds of the graph so that the water level is below the graph bounds.

Works nicely, thanks :slight_smile:

1 Like