Added NPC logic

This commit is contained in:
2026-06-01 22:04:31 +03:00
parent 06fb3353b2
commit a87964e119
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()))