Hi, thanks for reaching out!
I use the code whenever I add a tile to the level (50x50 meters approx) Its a very simple function that makes sure the level never ends pic below:
Example:
- Player reaches tile 2
- Add tiles A,B,C
- Move navmesh bounds to tile 2 (the bounding box is bigger than the tile)
- Rebuild navmesh
The navmesh is dynamic, and yes both levels contain the RecastNavMeshActor
I move the bounding box because the level has no limits and can grow infinitely.