I love the engine but I am stuck with trying to set up a simple behavior tree. I use Unity with Opsive Behavior tree. With the simple MoveTo how to you assign a target to move to?
Thanks in advance
I love the engine but I am stuck with trying to set up a simple behavior tree. I use Unity with Opsive Behavior tree. With the simple MoveTo how to you assign a target to move to?
Thanks in advance
Target value comes from BehaviorKnowledgeSelector<Actor*>, which can be linked from goal or blackboard that can be setup from game scripts to a target object to follow.
See docs with some code about BT: Behavior Knowledge | Flax Documentation
I think we need some step-by-step tutorial for simple agent following BT.
Thank you for that information. I have looked at it and understand it but it seems like there may be an issue in 1.11. If I create just a script that is called BBData that inherits from the FlaxEngine.Object it does not show up in the drop down of the Behavior Tree. I switched to 1.7 and if I do the exact same scenario I can access the BBData file on the Root.
Thanks in advance.
I tested a simple agent and it moves properly. Anything in the log? Maybe navmesh is not baked and it fails to find a path?
thank you. do you have time to put together a sample of how you are doing this or point to some other references regarding the BT?
Thanks
thank you for your help. I did get this working with looking at some of the discord posts.
Thanks again!!