struct

BehaviorTreeComponent

Runs a data-driven BehaviorTreeAsset over a per-instance Blackboard, ticked by BehaviorTreeSystem (UE5 UBehaviorTreeComponent analog). The authored fields (tree asset + tick rate) round-trip through reflection; the compiled tree, blackboard and tick bookkeeping are runtime-only.

Module
AINavigation
Header
#include "AINavigation/BehaviorTreeComponent.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Properties

TypeNameDescription
boolenabledDefault true.
std::stringtreePath
floattickIntervalDefault 0.0f.
boolpreserveBlackboardOff by default: a restart wipes the blackboard so the agent can't resume a stale target or cover reservation from its previous run. Default false.
boolstartedDefault false.
floattickAccumDefault 0.0f.
EBTStatuslastStatusDefault EBTStatus::Failure.
std::shared_ptr<BehaviorTreeAsset>asset
std::shared_ptr<BehaviorTree>tree
std::shared_ptr<Blackboard>blackboard
std::vector<FBTDynamicSubtree>dynamicSubtrees

Constructors

SignatureNameDescription
BehaviorTreeComponent() = defaultBehaviorTreeComponent

Function details

BehaviorTreeComponent

C++
BehaviorTreeComponent() = default
Generated from AINavigation/BehaviorTreeComponent.h via ainavigation.json · Oct 27, 2026Version 1.0.0