Nav Mesh Jump/Drop Problem

Hey there I’m trying to create an enemy that follows the player by using nav mesh component. I also need the enemy to be able to jump across and jump down objects. For some reason unity isn’t generating any drop or jump areas even though the jump and drop distance is greater than the area between the 2 objects. Can anyone please help?

You need to download and use: NavMeshComponents-master. Heres the function, and if doing this by code, consult the API or docs, and dont forget to check NavMesh settings:

  • NavMeshSurface – for building and enabling a NavMesh surface for one agent type.

  • NavMeshModifier – affects the NavMesh generation of NavMesh area types, based on the transform hierarchy.

  • NavMeshModifierVolume – affects the NavMesh generation of NavMesh area types, based on volume.

  • NavMeshLink – connects same or different NavMesh surfaces for one agent type.

Might I recommend

which explains how to use a NavMeshLink component to do exactly what you are asking about.

I had the very same issue and you only have to check the “Generate Links” tick box in the NavMeshSurface
9778743--1402029--upload_2024-4-18_16-23-18.png

1 Like