I think that I am not the only one who find this solution

Super::BeginPlay();
FString ObjectName = GetOwner()->GetName();
FVector ObjectPos = GetOwner()->GetActorLocation();
UE_LOG(LogTemp, Warning, TEXT(“position of %s is in %s”),*ObjectName , *ObjectPos.ToString());

  • this solution is working as well, its ok to use it or should I stick to the transform solution?

This looks quite good and is honestly a innovative way to look for a solution. If it prints out and runs then I would say it its fine. One criticism would be that it is a more complex way to say something simple, if that makes sense.

1 Like

Privacy & Terms