Talk:Behavior tree (artificial intelligence, robotics and control)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Pseudo code is a bit misleading[edit]

In the pseudocode sequences, the sequence operator is a loop over the childrens. Starting from the first children at every Tick.

However, in a behavior tree, the node upon receiving the next tick will not restart from the first child. It keeps in memory the last executing position so that it can continue executing where it was. Otherwise, it could never complete, and simply re-execute the first node (given that it takes more than one tick to execute).

JeuDeScience (talk) 13:26, 3 June 2021 (UTC)[reply]