xexuxjy Posted March 3, 2022 Share Posted March 3, 2022 Apologies if this has been covered, but is it possible to generate a standard terrain, set it to be on say a Ground layer, then set the generated water to be on a Water layer, then add a NavMeshSurface component to the terrain and set up the baking of a NavMesh so that it only includes the Ground layer, and therefore only the areas of the terrain that are above the water mesh? Basically stopping things from walking across water sections. I realise that doing things like raising or lowering the sea level would invalidate the NavMesh but as it stands I don't seem to be able to generate an appropriate NavMesh , possibly due to the runtime generated water and infinite terrain options. If this isn't possible, then do you have any advice as to best practise in allowing characters to avoid water while navigating the world? Thanks. Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now