An artificially intelligent agent designed to navigate a competitor around a track via a network of connected AIPathNodes. More...
Public Member Functions | |
void | Start () |
Initialises agent state. | |
void | FixedUpdate () |
Navigates the agent through the AI node network. | |
AIPathNode | Search () |
Searches for a new target node based on current position and direction. | |
void | GetTargets (out float speed, out float turning, out bool boost) |
Sets the specified target variables for the current target node. | |
Static Public Attributes | |
static bool | Profile = false |
An artificially intelligent agent designed to navigate a competitor around a track via a network of connected AIPathNodes.
void AIAgent.FixedUpdate | ( | ) |
Navigates the agent through the AI node network.
void AIAgent.GetTargets | ( | out float | speed, | |
out float | turning, | |||
out bool | boost | |||
) |
Sets the specified target variables for the current target node.
AIPathNode AIAgent.Search | ( | ) |
Searches for a new target node based on current position and direction.
void AIAgent.Start | ( | ) |
Initialises agent state.