Reply To: Dynamic selectors/sequencers do not reset re-evaluated connections

NodeCanvas Forums General Discussion Dynamic selectors/sequencers do not reset re-evaluated connections Reply To: Dynamic selectors/sequencers do not reset re-evaluated connections

#13795
Gavalakis
Keymaster

Hey,

Dynamic Selector and Sequencers indeed do not Reset their child nodes per-frame. If they were to Reset the child nodes per-frame, then a Dynamic Sequencer or Selector would both simoultanously execute child action nodes and act as a parallel. Even worse and in case of Running (actions for example) the action would simply start and reset (restart) per-frame as well. This is also why the Action Node specifically, only execute assigned Action Task only after the node has been reset, which in your example image, it would have been when the tree is restarted, but due to the “Run Forever” action you are using, the tree is “locked” forever running that node.
If you were to return Success instead of Failure on your action node on the left, then the tree would work correctly (as far as I understand what the expected behaviour is), since the Selector (regardless of Dynamic or not) looks to higher priority child nodes that return Success (not Failure).

I hope that made sense (?).
Thanks.

Join us on Discord: https://discord.gg/97q2Rjh