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
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
seeker
Private