Set SelfActor in Blackboard
This commit is contained in:
parent
969ecbebc8
commit
bab1f8acd6
|
@ -46,8 +46,9 @@ void AEnemyAIController::OnPossess(APawn* InPawn)
|
|||
{
|
||||
Blackboard->InitializeBlackboard(*behaviourTree->BlackboardAsset);
|
||||
BehaviorTree->StartTree(*behaviourTree);
|
||||
Blackboard->SetValueAsObject("SelfActor", enemy);
|
||||
}
|
||||
|
||||
|
||||
//ensure(enemy->GetMovementComponent()->UseAccelerationForPathFollowing());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue