Search Unity

  1. Unity 2018.1 has arrived! Read about it here
    Dismiss Notice
  2. Scriptable Render Pipeline improvements, Texture Mipmap Streaming, and more! Check out what we have in store for you in the 2018.2 Beta.
    Dismiss Notice
  3. If you couldn't join the live stream, take a peek at what you missed.
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  5. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  6. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Multiplayer AR Synchronize worldspace

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

  1. Abgehter

    Abgehter

    Joined:
    Jan 28, 2018
    Posts:
    1
    Hi,

    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.

    or

    (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

    UnityEngineer_India

    Joined:
    Jan 25, 2012
    Posts:
    20
    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.