Coordinates#
The LevelCoordinates actor is used to georeference your level. It lets you
specify a coordinate system, the longitude and latitude of a real-world location,
and the number of Unreal Engine units (cm) per longitude/latitude unit. The
location that you choose in the LevelCoordinates corresponds to the (0, 0)
location of Unreal Engine.
You can use epsg.io to find real-world coordinates in EPSG 4326
(this works better in Chrome than in Firefox in my experience). You can also change the URL if you
need coordinates in another EPSG.
In the LevelCoordinates Details Panel, you can create a Decal with a World
Map using the coordinate system (use “EPSG:4326” if you want the
usual longitude/latitude coordinates).
You can add an ActorCoordinates component to an actor that you wish to place on a particular
real-world location. Clicking the Move Actor button on this component will move the actor
correctly with respect to the LevelCoordinates.
If you are creating landscapes using a LandscapeSpawner,
a LevelCoordinates actor will be created automatically for some well-known
coordinate systems such as EPSG:4326, EPSG:2056, EPSG:2154,
CRS:84.
Level Coordinates Settings#
Level Coordinates
Global Coordinates (
UGlobalCoordinates)
Level Coordinates > World Map
Use Local File (
bool, defaultfalse)Path To Georeferenced World Map (
FString)Width (
int, default2048)Height (
int, default2048)
Global Coordinates Settings#
Global Coordinates
CRS (
FString, default"EPSG:4326"): Coordinate SystemCm Per Long Unit (
double, default11111111): Number of Unreal Engine centimeters per longitude coordinate system unitCm Per Lat Unit (
double, default-11111111): Number of Unreal Engine centimeters per latitude coordinate system unitWorld Origin Long (
double, default0): Longitude of the World Origin (in the given Coordinate System)World Origin Lat (
double, default0): Latitude of the World Origin (in the given Coordinate System)
Actor Coordinates Settings#
Coordinates
CRS (
FString, default"EPSG:4326"): Coordinate SystemLongitude (
double, default0): LongitudeLatitude (
double, default0): Latitude