Repository navigation
Replies: 1 comment
|
Yes, this is the intended behavior. The "memory" applies only while the sequence is not finished. It remembers which child to resume after a FAILURE (and while a child is RUNNING), so the children that already succeeded are not ticked again. When the last child returns SUCCESS, the sequence is done. if(current_child_idx_ == children_count)
{
resetChildren();
current_child_idx_ = 0;
...
}The next time the parent ticks it, the sequence starts again at the first child, like any other control node that has completed. Usually the parent decides this, for example a loop, or the root being ticked again by If you want the sequence to stop running after it has succeeded once, add that explicitly:
I checked this with two |
Uh oh!
There was an error while loading. Please reload this page.
As the title, is it normal or logical?
All reactions