A* Pathfinding Project

onTraverseOffMeshLink end or start


#1

When using onTraverseOffMeshLink is it possible to check if we are starting at the Start or End of the NodeLink2?

Extra question: Any tips on translating RichAi movement into input for a character controller?


#2

Hi

Yes. You can check the RichSpecial.reverse bool (I really should document it though).

IEnumerator TraverseOffMeshLink (RichSpecial link) {
   if (link.reverse) {
       // We are going in the reverse direction
    }
}