- Home /
How to get OffMeshLink from a NavMeshPath?
I'm using NavMesh.CalculatePath
to get a NavMeshPath
in a nav mesh with off-mesh links. The NavMeshPath
only contains the corners of the path as Vector3
structs. If one of the path segments is an off-mesh link, how can I get the corresponding OffMeshLink
object? Is there a better way than to search all off-mesh links in my scene manually?
did you ever figure this out? If so, please post the answer as I'm encountering similar issues.
I'd like to know the answer to this as well. As far as I can tell, there are off mesh links, but there doesn't appear to be a way to actually use them.
Your answer
Follow this Question
Related Questions
Null endpoint transform in an OffMshLink 1 Answer
Unity 3.5: Is there a way to access a NavMeshAgent's current path? 1 Answer
Navmesh Teleporting (With Server) 1 Answer
How to sample a point on a navMesh Agent path 0 Answers
Nav Mesh Agent 1 Answer