Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

How can I simulate on iOS

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

  1. tonOnWu

    tonOnWu

    Joined:
    Jun 23, 2017
    Posts:
    59
    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

    Unity Technologies

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