Player of [BehaviorTree] resources.
BTPlayer is used for instantiation and playback of [BehaviorTree] resources at run time.
Returns last execution status. See [enum BTTask.TaskStatus].
Cancel execution of the tree and start anew. This method does not reset [Blackboard].
Assign a [Blackboard] instance.
Updates the tree by executing the root task. Call this method when [member update_mode] is set to [constant MANUAL]. When [member update_mode] is not set to [constant MANUAL], the tree is updated automatically. See [enum UpdateMode].
If [code]true[/code], tree is active and will be processed.
[BehaviorTree] resource to instantiate and process at run time.
[Blackboard] instance that contains data shared by the tasks in [BehaviorTree].
If [code]true[/code], any NodePath variables in the [Blackboard] are replaced with references during tree instantiation. References are retrieved by calling [method Node.get_node] of BTPlayer.
Defines when BehaviorTree is executed. See [enum UpdateMode].
Notifies when behavior tree finishes executing and returns [code]SUCCESS[/code] or [code]FAILURE[/code].
Argument [code]p_status[/code] holds the status returned by the behavior tree.
Process tree during the idle process.
Process tree during the physics process.
Tree is processed manually by calling [method update].