Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How can I simulate on iOS

Discussion in 'AR' started by tonOnWu, Oct 9, 2018.

  1. tonOnWu

    tonOnWu

    Joined:
    Jun 23, 2017
    Posts:
    83
    Hi guys.

    I had great expectations about this library. So far, I think that the original "Experimental-ARInterface" had a lot more functionalities and examples that this one.

    Do you know how can I simulate here? I need to set Debug's Logs and see changes on the Game Objects to figure out error's origin. How can I do it with an iPhone?

    The whole day I've been trying to Scale a scene and remove planes after a button is pressed. So far, nothing. About the Scaling problem, I have nothing (in fact, I've been reading all publications about the subject but none offer a practical example). This library needs a lot more examples (as its predecessor).

    About removing planes, this has been my code so far:

    Code (CSharp):
    1.  
    2. ARPlaneManager aRPlaneManager = GetComponent<ARPlaneManager>();
    3.         aRPlaneManager.enabled = false;
    4.  
    5.         ARPlane[] planesToRemove = FindObjectsOfType<ARPlane>();
    6.         foreach (ARPlane plane in planesToRemove)
    7.         {
    8.             Destroy(plane);
    9.             Debug.Log("PLANES------------ DESTROYING");
    10.         }
    11. }
    12.  
    Any suggestion will be great.

    I really hope that you Update this as soon as possible.
     
    GreeneMachine likes this.
  2. jimmya

    jimmya

    Joined:
    Nov 15, 2016
    Posts:
    793
    tonOnWu likes this.