Bug placer pawn now updates at 60Hz.

This commit is contained in:
Jamie Greunbaum 2023-03-25 01:14:49 -04:00
parent 5667a99105
commit 5d7435e67f

View File

@ -131,7 +131,7 @@ void ABugPlacerPawn::Activate()
UGameplayStatics::GetPlayerController(this, 0)->Possess(this);
float TraceInterval = this->GetActorTickInterval() > 0.0f ? this->GetActorTickInterval() : 1.0f / 30.0f;
float TraceInterval = this->GetActorTickInterval() > 0.0f ? this->GetActorTickInterval() : 1.0f / 60.0f;
this->GetWorldTimerManager().SetTimer(this->TraceTimerHandle, this, &ABugPlacerPawn::TraceTimerElapsed, TraceInterval, true);
}