I use level streaming to load all of my maps in and out, and if I run GetActorLocation() for a given object inside one of these streamed levels, it returns an FVector local to the level it’s inside. Is there any straightforward way to convert the result to world coordinates in the persistent level?
I’m not sure if this is it, but World has something called OriginLocation, you can get it this way:
Actor->()->OriginLocation;
It’s but it is FIntVector (vector made of integers) and i don’t see operator overrides to make it work with FVector, but in worst case scenerio you will simply need to manipulate it on each axis.
Adding OriginLocation to ActorLocation should do the trick
Oh hey, that does the trick; thank you!!