Hi everyone,
I'm writing an AI for an old HL1 mod which is using the Recast and Detour libraries for pathfinding. I am using the RecastDemo utility to load in a map, build the nav mesh, and then export it for use by the AI.
When I was using the SoloMesh example as a base, I was able to export the nav mesh data from the RecastDemo application and use it in my AI just fine, off-mesh connections worked. However, since switching to the TempObstacles example so I can make use of temporary obstacles and (eventually) moving obstacles, it is no longer exporting the off-mesh connection data correctly, as my AI does not make use of any off-mesh connections.
I noticed in the save code there is nothing to do with off-mesh connections which probably explains why it's not working: none of the tile caches contain any off-mesh connection data.
Does anyone know how I'm supposed to export and import the nav mesh data so that I can make use of off-mesh connections? Currently I'm just using the exact same export and load code as the TempObstacles example.