Composite Reference

Here is a reference built-in Composite of BehaviourTree.

Classes

Class Name Description
ParallelSelector Execute all child nodes in parallel, and if any child node succeeds, return success to the parent node and finish execution.
If all child nodes fail, return failure to the parent node.
ParallelSequencer Execute all child nodes in parallel, and if any child node fails, return failure to the parent node and terminate execution.
Return success to the parent node if all child nodes are successful.
RandomExecutor Execute one of the child nodes randomly and return the execution result as it is.
RandomSelector Execute the child nodes in random order, return success if successful child nodes are found and end.
If all the child nodes fail, it returns failure.
RandomSequencer Execute child nodes in random order, return failed and finish when a failed child node is found.
If all the child nodes succeed, it returns success.
Selector Execute child nodes in order from the left, and return success if successful child nodes are found and end.
If all the child nodes fail, it returns failure.
Sequencer Execute the child nodes in order from the left, fail if the failed child nodes are found, and exit.
Return success if all child nodes succeed.