microsoft / MapsSDK-Unity

This repository contains samples, documentation, and supporting scripts for Maps SDK, a Microsoft Garage project.
MIT License
648 stars 127 forks source link

Attach players on map #199

Closed anlorhan closed 12 months ago

anlorhan commented 1 year ago

How can I take other people's locations and display them on each person's map using Unity Mirror? I was unable to immediately attach the location of the players to the map.

kircher1 commented 12 months ago

I'm not sure about the Unity Mirror aspect of this, but if you have a player location represented by a LatLon, you could use the MapPin component to anchor the GameObject to the map at a specified location.