Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Consistant Reference Point

Discussion in 'Formats & External Tools' started by davellani99, May 1, 2021.

  1. davellani99

    davellani99

    Joined:
    Mar 23, 2021
    Posts:
    2
    Hi,

    I am working on a location based game. I am working on saving and loading points across game sessions.
    I am using a application called Mapbox. I am trying to save the lat and long of a point and recreating the point on start. That page has GetGeoPosition and MoveToGeocoordinate but they both use a refPoint.

    My problem is that the in game map is generated from 0,0 at the load so how can I create a consistant refPoint to create my point?
    I have spent 2 days on this problem. The point saves and loads but it moves dependig on where the map is created, not a lat and long.

    PLEASE HELP!!!