How to cut/skip off mesh links? (Flying agent)

Hi,
trying to create a sort of a fake flying agent on a Recast graph with RichAI. The idea is to be flexible with height, cut as many corners as possible, but still try to hover at some Y coordinate above nav mesh.

I thought I could accomplish this essentially like the Raycast Modifier does it - remove as many nodes as possible and simplify the path, but it seems to be handling off mesh links differently - I can’t seem to find the code where this happens.

What’s the best way to handle this?

I think I figured it out, I was using NodeLink2 for other agents but this flying use case needs the regular NodeLink.

1 Like