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.

Physics Raycast with Oculus Quest Hand Tracking

Discussion in 'AR/VR (XR) Discussion' started by bftvtech, Jul 12, 2020.

  1. bftvtech


    Feb 11, 2020
    Anyone have any luck creating the typical curved teleport line from a raycast but with just hand tracking on the Quest?

    I'm still very much a novice with Unity and C#, though from some example code I managed to get a visible raycast, but the origin transform.position I'm using for the line on the OVRHand is coming from the wrist. I'd like to have it come from the tip of one of the finger bones, or from the middle of a pinch gesture, but I'm not sure how I'd go about it.

    I thought maybe OVRHand.HandFinger.Index.transform.position might work but it doesn't.