Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Multiplayer AR Synchronize worldspace

Discussion in 'ARCore' started by Abgehter, Jun 7, 2018.

  1. Abgehter


    Jan 28, 2018

    for studies we invent a jenga-AR-Multiplayer. Singleplayer is allready working fine and a "windows-simulation" with multiplayer also works.

    But when bringing it together i have a problem.
    Here is the szenario:

    Player-H (host): starts game, finds a plane and starts network
    Player-C (client): starts the game, finds a plane and joins a network

    So now what should happen:
    (1) Tower is placed at (0,0,0) and both players where repositioned according to their position-delta to the set anchor.


    (2) Tower is placed at anchor-H and the position of player-C is recalculated.

    Is there a way to manage this (transforming the world or the transform of a tracked-Posed-Driver-controlled object?

    To make it clear, its not about having the tower at the exactly real world position but on the position the player chooses by taping on a detected plane.
  2. UnityEngineer_India


    Jan 25, 2012
    If the Player H and Player C are next to each other in the same geo location , then you should try ARCore google cloud anchors.