Get position of the next Node (AILerp, Point Graph)


I am trying to get the position of the current active node along a path. Not the end node, but the next node the player is currently moving towards.

steerTarget seems to be the right variable. But I don’t know how to write it in C# to get the position.


Any ideas anybody?


The next node is not exposed from the AILerp script, I’m afraid.
You can the node at the steering target using I suppose. But it will not be perfectly accurate.