I fixed a error but I don't know why it happened

I tried the challenge and then tested it.The AI stuck in Move To LastKonwnPlayerLocation node.I found it because I added “GetBlackboardComponent()->SetValueAsVector(TEXT(“PlayerLocation”), Player->GetActorLocation());” before “if (LineOfSightTo(PlayerPawn))” in tick funcation.
If I delete it,the game run correctly.But I still don’t know the reason.Could anyone explain it ?

Sorry but what lecture is this for? The code for 34_ss doesn’t show any of what you’re talking about

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms