First step of new focus management system

This commit is contained in:
2026-04-15 22:55:02 -04:00
parent 2f83910897
commit 8a3d200247
7 changed files with 365 additions and 5 deletions

View File

@@ -169,7 +169,11 @@ void ALuprexGameModeBase::OnWorldPostActorTick(UWorld* InWorld, ELevelTick InLev
UpdateTangibles();
UpdatePossessedTangible();
AlxPlayerControllerBase *PC = Cast<AlxPlayerControllerBase>(GetWorld()->GetFirstPlayerController());
if (PC != nullptr) PC->UpdateLookAt();
if (PC != nullptr)
{
PC->UpdateLookAt();
PC->UpdateEventDispatch();
}
}
}