Hello! I'm currently attempting to convert a coordinate position (ArcGISPoint or Lat/Lon) to Unity engine coordinates in my local map scene. The suggestion is to use ArcGISView.GeographicToWorld(ArcGISPoint) to get a world position ("worldPos") and then use HPRoot.TransformPoint(worldPos) to get the corresponding Unity transform value, but I only get NaN values from GeographicToWorld because the view is supposedly missing a spatial reference.How do I overcome this? The documentation has nothing about why the view would be missing a spatial reference so I have no clue how to fix this. Is there a way to assign a spatial reference? Or just another way to calculate the Unity position entirely?For reference this is the post I've been trying to work off of: https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/world-position-to-unity-position-from-geographical/td-p/1227932
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.