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)?
you can't. If the users are not sharing a common world origin, how could you? it's like measuing the distance of 2 points that are on 2 different charts...