How to get the next node in the Point Graph?
Could you elaborate?
When I click on a Node, AI move toward the selected node. Lets say AI is moving from Node A to Node D. First it will go to Node B, then C and then D. So, when I click Node D, I want to get the Node B object.
I think you’ll be interested in this tutorials: Writing a movement script - A* Pathfinding Project and Searching for paths - A* Pathfinding Project
I read both pages but didn’t understand which part is relevant to my question. Please help me, I am new in coding. Thanks.