port to UE5 and new development environment; consequential leeway

This commit is contained in:
2022-05-25 20:07:51 +02:00
parent 1485621698
commit 21f7dd4e67
5 changed files with 74 additions and 35 deletions
+8
View File
@@ -55,6 +55,14 @@ void AAdventureCameraPawn::Tick(float DeltaTime)
{
Super::Tick(DeltaTime);
// quick fix for edgescrolling after viewport resizing.
//
//TickIncrement++;
//if (TickIncrement >= 60) {
// TickIncrement = 0;
// ViewSize = Viewport->Viewport->GetSizeXY();
//}
if (IsValid(FollowPawn)) { if (FollowPawn->bIsMoving) { FollowAdvPawn(DeltaTime); } }
}