|
Arbor 3: FSM & BT Graph Editor
3.1.0
|
AI for the movement component that wraps the NavMeshAgent. More...
Public Types | |
| enum | MovementType { NotChange, Normalize, DivSpeed, DivValue } |
| Type of movement vector More... | |
| enum | TurnType { UseX, RadianAngle } |
| Type of Turn More... | |
Public Member Functions | |
| void | Patrol (Vector3 center, float speed, float radius) |
| Wander within specified radius More... | |
| void | Patrol (float speed, float radius) |
| Wander within the specified radius from the start position More... | |
| void | Follow (float speed, float stoppingDistance, Vector3 targetPosition) |
| It approaches the specified 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, Vector3 targetPosition) |
| Keep away from specified position More... | |
| void | Escape (float speed, float distance, Transform target) |
| Away from the specified Transform More... | |
| void | LookAt (float angularSpeed, Vector3 targetPosition) |
| Rotate in the direction of the specified position. More... | |
| void | LookAt (float angularSpeed, Transform target) |
| Rotates in the direction of the specified Transform. More... | |
| void | Resume () |
| Resume movement. More... | |
| void | Stop () |
| Stop. More... | |
Properties | |
| NavMeshAgent | agent [get] |
| Transform | agentTransform [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.
|
strong |
Type of movement vector
|
strong |
| void Escape | ( | float | speed, |
| float | distance, | ||
| Vector3 | targetPosition | ||
| ) |
Keep away from specified position
| speed | Movement speed |
| distance | Distance away |
| targetPosition | Target |
| 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, | ||
| Vector3 | targetPosition | ||
| ) |
It approaches the specified position
| speed | Movement speed |
| stoppingDistance | Stopping distance |
| targetPosition | Objective point |
| 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 LookAt | ( | float | angularSpeed, |
| Vector3 | targetPosition | ||
| ) |
Rotate in the direction of the specified position.
| angularSpeed | angular speed |
| targetPosition | Target |
| void LookAt | ( | float | angularSpeed, |
| Transform | target | ||
| ) |
Rotates in the direction of the specified Transform.
| angularSpeed | angular speed |
| target | Target |
| void Patrol | ( | Vector3 | center, |
| float | speed, | ||
| float | radius | ||
| ) |
Wander within specified radius
| center | Center |
| speed | Movement speed |
| radius | Radius from the starting position |
| void Patrol | ( | float | speed, |
| float | radius | ||
| ) |
Wander within the specified radius from the start position
| speed | Movement speed |
| radius | Radius from the starting position |
| void Resume | ( | ) |
Resume movement.
| void Stop | ( | ) |
Stop.
|
get |
|
get |
|
get |
Whether the move is complete or not.
|
get |