Ultra-noob question here:
I’m using RecastGraph since I will require dynamic/runtime scanning of the graph.
I have masked the obstacles properly and the graph shows it as per my requirement.
The problem is “How do I move the AI?”
The documentation isn’t really clear in this regard,especially for the Recast graph.
Do I attach a “Seeker” component to the AI? Do I generate nodes and serialize them? If so,how?
Or am I missing something here?
Hi
RecastGraphs are not the ones which enables easy (fast) updating during runtime, sure you don’t mean GridGraphs.
Have you read the Get Started Guide?
http://arongranberg.com/astar/docs/getstarted.php
Also be aware of Modifiers~ A funnel Modifier is almost required for a RecastGraph~
I tried following the Get Started guide by using a Grid Mesh and set up according to the guide, but I keep getting the “Couldn’t find close nodes to either the start or the end” when I hit Play.
Any ideas on what I’m doing wrong here?
Would you mind posting your script ?? That would make it 100 times easier to debug!
Well,it worked on a plain object but I’m trying to figure out how to use this in conjunction to Rain{indie}. One where A* does the pathfinding and rain{indie} handles the other aspects of the AI
Scratch that. It worked. Just realized that I had to put the RAINController below the Seeker and AIScript.