From 2bab0fb0cd69e69f2591160f46242b00924325f9 Mon Sep 17 00:00:00 2001 From: Zwitschi Date: Sun, 8 Nov 2026 10:26:19 +0100 Subject: [PATCH] qa wip: SIM diagnostics + street spawn (pre-rebase snapshot) --- Game/GigLine/Source/GigLine/GigLineCharacter.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Game/GigLine/Source/GigLine/GigLineCharacter.cpp b/Game/GigLine/Source/GigLine/GigLineCharacter.cpp index 13a768f..a7fca8d 100644 --- a/Game/GigLine/Source/GigLine/GigLineCharacter.cpp +++ b/Game/GigLine/Source/GigLine/GigLineCharacter.cpp @@ -146,12 +146,15 @@ void AGigLineCharacter::BeginPlay() { UCharacterMovementComponent* M = GetCharacterMovement(); UE_LOG(LogTemp, Log, - TEXT("GigLine SIM: worldTime=%.2f Z=%.0f grav=%.1f fall=%d pawn=%s"), + TEXT("GigLine SIM: t=%.2f Z=%.0f grav=%.1f fall=%d local=%d role=%d mode=%d ctrl=%s"), GetWorld() ? GetWorld()->GetTimeSeconds() : -1.f, GetActorLocation().Z, M ? M->GetGravityZ() : 0.f, (M && M->IsFalling()) ? 1 : 0, - *GetName()); + IsLocallyControlled() ? 1 : 0, + (int)GetLocalRole(), + M ? (int)M->MovementMode : -1, + GetController() ? *GetController()->GetName() : TEXT("NONE")); }, 1.0f, true); }