// Called every frame
void UMover::TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction)
{
Super::TickComponent(DeltaTime, TickType, ThisTickFunction);
AActor *Owner = GetOwner();
FString Name = Owner->GetActorNameOrLabel();
FVector Location = Owner->GetActorLocation();
FString locationString = Location.ToCompactString();
UE_LOG(LogTemp, Display, TEXT("Mover Owner: %s with location %s"), *Name, *locationString);
// ...
}
In the output log it’s showing the x-coord but, not the y-coord for some reason. Not a huge deal at the moment, just curious as why this would happen.