hello, everyOne,
if i konw a point on the cesium earth surface, for example, i hit one place and get one point, how do i convert it to longitude/latitude?
Hi @beyondlei99,
If you want to transform a position in Unity world coordinates to longitude/latitude/height, you can do that with a two step process:
- Convert the Unity coordinates to ECEF. This is done with the
TransformUnityPositionToEarthCenteredEarthFixed
on theCesiumGeoreference
object. - Convert the ECEF coordinates to Longitude/Latitute/Height. This is done with the static method
EarthCenteredEarthFixedToLongitudeLatitudeHeight
onCesiumWgs84Ellipsoid
.
1 Like
thanks! Kevin.
Merry Christmas!
1 Like