Is there a way to zero world origin to a new location?

You have to add existing world origin to new location to zero it to a given coordinate. This effectively resets the world to new location - which is very useful for anyone writing large single player games or endless runners.

or C++

World->SetNewWorldOrigin(FIntVector(newO.X, newO.Y, newO.Z) + World->OriginLocation);
3 Likes