port to UE5 and new development environment; consequential leeway
This commit is contained in:
@@ -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); } }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user