Arbor: State Diagram Editor
2.2.0
|
AI for the movement component that wraps the NavMeshAgent. More...
Public Member Functions | |
void | Patrol (float speed, float radius) |
Prowl the within a specified radius from the start position More... | |
void | Follow (float speed, float stoppingDistance, Transform target) |
Approach to the position of the specified Transform More... | |
void | Escape (float speed, float distance, Transform target) |
Away from the specified Transform More... | |
void | Stop () |
Stop. More... | |
Properties | |
NavMeshAgent | agent [get] |
bool | isDone [get] |
Whether the move is complete or not. More... | |
bool | isMoving [get] |
AI for the movement component that wraps the NavMeshAgent.
Used mainly through built-in Behavior's Agent.
void Escape | ( | float | speed, |
float | distance, | ||
Transform | target | ||
) |
Away from the specified Transform
speed | Movement speed |
distance | Distance away |
target | Target |
void Follow | ( | float | speed, |
float | stoppingDistance, | ||
Transform | target | ||
) |
Approach to the position of the specified Transform
speed | Movement speed |
stoppingDistance | Stopping distance |
target | Objective point |
void Patrol | ( | float | speed, |
float | radius | ||
) |
Prowl the within a specified radius from the start position
speed | Movement speed |
radius | Radius from the starting position |
void Stop | ( | ) |
Stop.
|
get |
|
get |
Whether the move is complete or not.
|
get |