Reply To: Dynamic Trait Does not evaluate the whole tree

Forums 💬 NodeCanvas ⚙️ Support Dynamic Trait Does not evaluate the whole tree Reply To: Dynamic Trait Does not evaluate the whole tree

#19228
Gavalakis
Keymaster

    Hey,

    The Dynamic option will make the node Dynamic only in the scope of it’s own children. If you wanted child nodes to be Dynamic as well, you should mark them Dynamic too and then the whole thing will work recursively 🙂

    To be more exact, when a Seqencer or Selector for example is dynamic, it means that it will revaluate each lower priority child on every tick and that child will do it’s work. If that child is also dynamic it will revaluate it’s own lower priority children every tick and so on.

    So in your example, leaving the middle Selector non dynamic simply means that it will not revaluate the child Sequencer (left) when the “Coose Target” Selector is Running.

    I hope that clears it up for you?
    Let me know