C++ behavior tree tasks

When implementing a behavior tree Task in C++, should we inherit from UBTTask_BlackboardBase or its parent UBTTaskNode? How is the additional functionality in UBTTask_BlackboardBase used when implementing tasks?

Use UBTTask_BlackboardBase when you need access the blackboard from your task. UBTTask_BlackboardBase only adds a little bit of functionality to resolve a blackboard key for you.

Otherwise I would use UBTTaskNode.

1 Like