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
| Type | Name | Description |
|---|---|---|
bool | enabled | Default true. |
std::string | treePath | |
float | tickInterval | Default 0.0f. |
bool | preserveBlackboard | Off 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. |
bool | started | Default false. |
float | tickAccum | Default 0.0f. |
EBTStatus | lastStatus | Default EBTStatus::Failure. |
std::shared_ptr<BehaviorTreeAsset> | asset | |
std::shared_ptr<BehaviorTree> | tree | |
std::shared_ptr<Blackboard> | blackboard | |
std::vector<FBTDynamicSubtree> | dynamicSubtrees |
Constructors
| Signature | Name | Description |
|---|---|---|
BehaviorTreeComponent() = default | BehaviorTreeComponent |
Function details
BehaviorTreeComponent
C++
BehaviorTreeComponent() = defaultGenerated from AINavigation/BehaviorTreeComponent.h via ainavigation.json · Oct 27, 2026Version 1.0.0