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.
  • ActionComponnet
    Performs the operation and returns the result to the node as success.
  • 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.
  • ServiceComponent Starts execution when the node becomes active.

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
    Processing is performed every frame while the node is active.
    Outputs the result in bool type.