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

Unity ARKit Plugin Raycast with a Ray

Discussion in 'AR/VR (XR) Discussion' started by ibrahimpenekli, Feb 19, 2019.

  1. ibrahimpenekli

    ibrahimpenekli

    Joined:
    Mar 10, 2015
    Posts:
    30
    Hi Guys,

    I want to achieve something similar like ARCore's raycast method which takes an arbitrary ray in world space coordinates instead of a screen-space point:
    https://developers.google.com/ar/re...ore/Frame#hitTest(float[], int, float[], int)

    I know ARFoundation has a method like this, but I have to use UnityARKitPlugin.
    I see ARKit itself has not that method like I want, but in any way maybe someone has an idea!

    Thanks.