Added NPC logic

This commit is contained in:
2026-06-01 22:04:31 +03:00
parent 89c2e93369
commit 0e9832719d
37 changed files with 156 additions and 41 deletions
@@ -45,6 +45,11 @@ void ANPCAIController::ClearObservation()
}
}
void ANPCAIController::RunCustomBehaviorTree()
{
RunBehaviorTree(BehaviorTreeAsset);
}
float ANPCAIController::GetObservationWeight() const
{
if (const ANPC* NPC = Cast<ANPC>(GetPawn()))