Does a Nav Mesh Bounds Volume need a floor?

I’m learning how Nav Mesh Bounds Volume works. When I press P key it gets green only where there is a surface on XY plane:

As you can see in the image above, the green area is only over the floor but the nav mesh is bigger.

Do I need to have a floor to use the nav mesh bounds volume?

Yes. If there is no geometry, then what would your AI be walking on? Do you need to implement a flying AI?

1 Like

Yes, I need to implement a flying AI.

Unreal Engine does not support NavMeshes for flying by default. You require a custom plugin. Some suggestions: Don’s Flying AI (old) or Flying Navigation System (30$) perhaps SVON Plugin if you can get it to work.

1 Like

Thanks but… how programmers do to move flying AI enemies?

The plugins I have linked contain their own setups for movement. They should include a function for Blueprints, and a Task for Behavior Trees. Unfortunately, I have never used most of them, so I cannot provide specifics.

1 Like

Thanks. I’m going to do it by myself. Thus, I’m going to learn more.

Not sure if you have a direction already, but one method for flying AI can be done using various line or sphere traces to detect things around it. For example, a line trace 1000 units straight ahead could check to see if something is in the way of the flight path, and if there is a blocking hit, the ai could turn using an interpRotateTo node to steer away. Performing this check at a quick interval can give an illusion of turning naturally.

1 Like