Correct me if I’m wrong (and I know Ben was just using the longer way to teach more thoroughly), but would this be a more efficient way of getting position?
UE_LOG(LogTemp, Warning, TEXT("%s is at X=%f, Y=%f, Z=%f"),
*GetOwner()->GetName(), //object name
GetOwner()->GetActorLocation().X, //coords
GetOwner()->GetActorLocation().Y, // ...
GetOwner()->GetActorLocation().Z // ...
);
Here we are just formatting floats to the string, rather than spending all the clock cycles computing an entire FVector to a string…