Use GetBlackboardComponent() without adding it to our AIController

We are using GetBlackboardComponent, but I don’t get it how we can use it, if we didn’t create it?
Is it created by AIController, and if so why a behavior tree doesn’t have a function like GetBehaviorTreeComponent()? Why is it only applicable for a Blackboard? I thought that a Blackboard and a behavior tree are needed each other and using one of them is pointless without the other one. For what blackboard is also using for?

Ok, I have checked a RunBehaviorTree() method and inside it, there is a check if blackboard component exists and if not that it gets an instance of Blackboard object and initialise component with that Blackboard object

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms