Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Lean touch with ARKit Plugin

Discussion in 'Assets and Asset Store' started by dappledore, Apr 2, 2018.

  1. dappledore

    dappledore

    Joined:
    Feb 16, 2015
    Posts:
    12
    I am using Lean Touch with ARKit, i select images from the photo gallery, then ARKit detects a wall and i can put the images on the wall. In the editor i can select images , rotate , scale etc also on iPhone i can do the same before the images are put on a detected vertical plane with ARKit.
    After i put the images on the wall on the iphone, i can still scale , rotate but i cannot select other images, i am not sure why.
    To select images i am using a LeanSelect and LeanFingerDown script, the events seem to stop working after adding the image to the plane.
    The vertical plane detection code is in UnityARHitTestExample with the ARKit plugin , anyone have any insight into why this might happen?
     

    Attached Files:

  2. dappledore

    dappledore

    Joined:
    Feb 16, 2015
    Posts:
    12
    I solved this by turning off the ARKitPlane layer mask on LeanSelect Object
     
    BobFrederick likes this.