mapbox / mapbox-unity-sdk

Mapbox Unity SDK - https://www.mapbox.com/unity/
Other
725 stars 210 forks source link

how WorldScale : Map is rendered at actual scale, unity to mercator conversion factor is ignored. I originally thought that when I used this option, the ratio of unity world to real world was 1:1 #1872

Open bigbangkobe opened 2 years ago

bigbangkobe commented 2 years ago

my mapbox settting image image my car move in real world,but not match mapbox map, the speed is real car speed,how to change my unity world match mapbox map world to 1: 1 image this is my change value image

bigbangkobe commented 2 years ago

my speed is km/h,so i use speed/3.6f to change m/s,match unity matter

bigbangkobe commented 2 years ago

somebody help

brnkhy commented 2 years ago

when you use world scale, 1 unity units should be equal to 1 mercator meters. important thing to note here is; "1 meter" is actually mercator meters, not real world meters so it'll get inaccurate as you move higher latitudes.