Composite Reference

Here is a reference built-in Composite of BehaviourTree.

Classes

Class NameDescription
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.