Search Unity

ARKit Create GameObject on Anchor

Discussion in 'AR' started by HStuart, Mar 20, 2018.

  1. HStuart

    HStuart

    Joined:
    Jul 30, 2015
    Posts:
    7
    Hi guys,

    I have also posted this on an ongoing thread, as I was unsure where was appropriate to post. Please feel free to delete this if necessary.

    I am relatively new to this AR stuff, quite familair with unity but have been struggling with something. There are all these awesome tutorials on plane detection and placing objects on planes etc. I was wondering, in terms of "anchors", is it possible to "create" and anchor when the player touches the screen at that position. For example, the players phone is looking at anything that is not horizontal or vertical (if they were, plane detection would be easiest), and when they tap on a real world object, an anchor is produced at that position and a gameobject is created at that anchor.

    If this is possible, how do i go about creating the anchor and placing a gameobject at that anchor? I have found the available resources not descriptive or detailed enough and a tad too complicated to begin with.

    Thank, Harry
     
    Prabhug likes this.