You can use a combination of NavMesh and custom pathfinding logic. Set up your NavMesh as usual for ground-based navigation. For flying, modify the AI’s movement component to include vertical movement and create custom pathfinding to handle 3D space navigation.