- Home /
A* PathFinding Radius sphere
Im using Arongrandbergs A* PathFinding Tool and this is what im trying to do.
Ok so im trying to make it so that the seeker does not automaticlly go after the target, but instead waits for the target to enter a raduis of "what ever amount" and then start caculating a path to that object. Is their a place where i can start to look for help on scripting this, the arongrandberg website is down and i dont know where else to look.
Answer by Jason B · Mar 30, 2011 at 12:57 AM
You'll need to use Vector3.Distance
.
There is a wealth of information about it (and every other basic concept) in the manual.
http://unity3d.com/support/documentation/ScriptReference/30_search.html?q=Vector3+distance
so would i apply that into the script or make a seperate script and tell it to refrence one another?
Your answer
Follow this Question
Related Questions
How do i get the IsPathPossible() function to ignore some nodes using Astar Pathfinding Project 0 Answers
How do i get the IsPathPossible() function to ignore some nodes using Astar Pathfinding Project 0 Answers
Movement around a huge object by avoiding obstacles 1 Answer
A* pathfinding for 2D top Down 0 Answers