I'm working with the ArcGIS SDK for Unity and need help creating a minimap camera that follows my player game object. My player has an ArcGISLocationComponent, and I want the minimap camera to maintain a fixed offset above the player while displaying a top-down view. I've tried converting between ArcGISPoint and Vector3, applying the offset, and then converting back to ArcGISPoint. Additionally, I attempted to set the camera's rotation using ArcGISRotation. Despite these efforts, the minimap camera is not following the player as expected. Could someone provide guidance or an example of how to properly implement a following minimap camera using the ArcGIS SDK for Unity?
To try something simple, have you tried attaching the minimap camera to the player?
You could also attach an arcgis location component to the minimap camera and set the position the same as player's arcgis position without needing to convert anything.
Also, the arcgis rotation takes into account the globe's curve. Usually a rotation of (0,0,0) points to the surface of the earth independent of where you are located. But depending on the orientation of the game object, you may need to apply an offset (e.g., (0,0,90)).
If you still have issues, it'd be useful to know how the minimap is specifically behaving and/or to have a video attached here.