Class AstarAI Extends MonoBehaviour
Public
Public Methods
OnPathComplete
(p)
Public
Start
()
Public
Update
()
Public
Public Variables
nextWaypointDistance
The max distance from the AI to a waypoint for it to continue to the next waypoint.
Public
path
The calculated path.
Public
reachedEndOfPath
Public
repathRate
How often to recalculate the path (in seconds)
Public
speed
The AI's speed in meters per second.
Public
targetPosition
The point to move to.
Public
Private/Protected Members
controller
Private
currentWaypoint
The waypoint we are currently moving towards.
Private
lastRepath
Private
seeker
Private