What I’m trying to do is to make an edit-mode script that gets all off-mesh links and makes some of them bi-directional(depends whether a jump is possible).
My (obvious) attempt was:
FindObjectsOfType<OffMeshLink>();
However, it returns only the links I have created manually.
My question is the following: how to access the off-mesh links generated by unity in the baked NavMesh?
The auto-generated OffMeshLinks (jump/drop) are unfortunately not available for queries
We plan to replace this concept with a more flexible one - including a better workflow
Is there a solution to this now?
Why not add a single bool in there to make all auto generated offmesh links bidirectional? I’d prefer to deal with all bidirectional links than having to manually create them. My agents needs to be able to jump all over the map, can you imagine the pain of doing it all by hand?
Is the source out there? I’d try fixing it myself.
Hi, for our project, we really need to at least read off-mesh links, simple list “start / end vector3” would be sufficient, is there a way to get them? If not, could you please send me a plugin that is able to export them? There is even an asset that is trying to mimick the built-in functionality, although not as good as the hidden black box within Unity: NavMesh Links Generator for NavMeshComponents