BehaviorTree
BehaviorTree is a node that is executed in the form of a behavior tree.
Properties
Property name | Type | Description |
---|---|---|
Input port | InputBehaviorTreePort | Executed when connected to parent BehaviorTreePort. |
Decorators | List of Decorator | List of decorators that determine node execution, etc. |
Services | List of Node Component | List of node components to run while the node is active |
Supported node components
Main
- ActionComponent
Performs processing when a node becomes active and immediately returns results to the parent node. - TaskComponent
It starts executing when it becomes active and returns the result to the parent node when the TaskComponent completes execution. - EventComponent
Returns the result to the parent node when the event occurs. - EvaluateComponent
Processing is performed every frame while the node is active.
There are settings that allow you to change the task execution state depending on the results.
Decorators
- Decorator
It is used to determine whether to execute a node or to modify execution results. - EvaluateComponent
It is used to determine whether or not to execute a node.
Services
- ActionComponnet
Execute the process.
You can also set it to be called every frame using the Methods field. - TaskComponent
Executes the process and outputs the running status. - EvaluateComponent
It executes the process and outputs the result as a boolean. You can also set it to be called every frame using the Methods field. - ServiceComponent
It begins execution when the node becomes active.