Tittle says it all really. It would be nice if tree read whether root tree is local and would bind itself if tit were. I use many tasks that communicate with child GameObjects such as “weapon” and currently Sub trees tasks cannot set their agent as that game object and all workarounds i thought of involve many extra nodes.
I am realy looking into this feature, but there are just some things and make it very difficult to implement properly and without unhappy accidents.
Currently the way to parametrize subtrees would be using Blackboard variables.
Since blackboards live in the GraphOwner game object and thus in the scene (in case they are not prefabs anyways), they can have scene object references.
Nodes can then use those variables instead of direct drag&drop references 🙂
Cheers!
Join us on Discord: https://discord.gg/97q2Rjh
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Login
Register
By registering on this website you agree to our Privacy Policy.