Reply To: Unity 5

Forums 💬 NodeCanvas 🗨️ General Discussion Unity 5 Reply To: Unity 5

#14667
Gavalakis
Keymaster

    Hello,

    Behaviour Trees have a specific, yet quite understandable way of thinkning. ‘Leaf’ nodes, like for example Actions, are not connected after other Actions, but instead they are connected as children to a parent ‘Composite’ node which determines which children and the order in which these children nodes will be executed.
    At the end of the following page, I have included a number of very usefull links that explain how Behaviour Trees work much better and in far more detail than I can describe in this post 🙂
    http://nodecanvas.com/documentation/node-systems/behaviour-trees/

    Also there are some example scenes I have created which you can download them in the ‘Resources’ section of the website:
    http://nodecanvas.com/resources/

    There is definetely a learning curve when it comes to creating and using Behaviour Trees, but once you get familiar with them, it all becomes much more clear 🙂

    So, to get a bit more specific in your questions, if you want to execute a number of actions one after the other, you will need to use a Sequencer Composite node and connect the Actions you want to run one after the other as child nodes of the Sequencer, since that is what a Sequencer does.

    I strongly suggest that you take at least a brief look at the external link provided in the above page and of course if you have any kind of question, dont hesitate to ask 🙂