Search Unity

How get distance between phones in real world?

Discussion in 'AR' started by Archi_16, Jul 27, 2018.

  1. Archi_16

    Archi_16

    Joined:
    Apr 7, 2017
    Posts:
    87
    Hi. Im making AR multiplayer game, and get some problem.
    When 1st player joined game, he will spawn in (0,0,0) position. After, than 2nd player join game, i want spawn him in position, where player is in real world from 1st player.
    I mean, if distance between players in real world is 1 metr, the 2nd player should spawn in (0,0,1)..

    How can i detect distance between players in real world, when 2nd player want to join game(Prejoin process)?
     
  2. aefox

    aefox

    Joined:
    Sep 12, 2018
    Posts:
    2
    Hello,

    I have the exact same requirement for a research I am doing. Anyone any idea? :)

    Thanks,
    Fox