Added NPC logic
This commit is contained in:
@@ -45,6 +45,11 @@ void ANPCAIController::ClearObservation()
|
||||
}
|
||||
}
|
||||
|
||||
void ANPCAIController::RunCustomBehaviorTree()
|
||||
{
|
||||
RunBehaviorTree(BehaviorTreeAsset);
|
||||
}
|
||||
|
||||
float ANPCAIController::GetObservationWeight() const
|
||||
{
|
||||
if (const ANPC* NPC = Cast<ANPC>(GetPawn()))
|
||||
|
||||
Reference in New Issue
Block a user