Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    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. Let us know a bit about your interests, and if you'd like to become more directly involved. Take our survey!
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. 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:
    22
    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.