Using the Hints of Transform and ToString this is how I found a solution. But

My line of code reads as this on line 25:

FString ObjectPos = GetOwner()->GetActorTransform().ToString();

My only complaint in that having some experience with format operators like %s, I was trying to control the output to have something like only 3 to 4 numbers to the right of the decimal. But that was beyond the scope of the assignment and some wishful thinking.


The positions of the couch and the chair to the right in my scene are as follow:

The API was very helpful as well as were the hints.

Privacy & Terms