qa wip: SIM diagnostics + street spawn (pre-rebase snapshot)

This commit is contained in:
zwitschi committed 2026-11-08 10:36:18 +01:00
1 parent 2199a546bd
commit 2bab0fb0cd
1 file changed
+5 -2
@@ -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);
}