Drawing navigation line

I need to draw a line between two gps coordinates - navigation for planes. How to achieve with Cesium?

We have the same use case and unfortunately do not know how to implement the feature. Can anyone help here?

You can turn WGS84 GPS coordinates into Unity world coordinates by using methods on the CesiumGeoreference and CesiumWgs84Ellipsoid objects. First transform longitude/latitude/height to ECEF using the latter, then use the former to transform that to Unity coordinates. As far as the rendering, you might try something like this:

1 Like