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

I have rotation tracking but no head potion tracking

Discussion in 'AR/VR (XR) Discussion' started by jmcadam2, Sep 7, 2015.

  1. jmcadam2

    jmcadam2

    Joined:
    May 10, 2015
    Posts:
    5
    Specs:
    Unity Pro 5.1.3
    Oculus DK2
    Oculus 0.7.0 runtime
    Nvidia GeForce 980 card with 355.84 Driver
    Windows 10

    When I run the Oculus Config Util Demo things work just fine. Both head rotation and position are tracked properly while sitting at virtual desk. Then I set up a new scene with a default cube at the origin In Uinity. I move the camera in fairly close so the cube is right in your face when you when you enter play mode. I enable Virtual Reality Supported in the Untiy Player settings and enter play mode. My head rotation is tracked just fine but as I move towards or away from the Oculus web cam no positional tracking is recorded.

    Any thoughts on how to fix this? Thanks so much for any help you can offer.

    Ryan
     
  2. Pingly

    Pingly

    Joined:
    Jun 14, 2015
    Posts:
    10
    I have the same issue. In fact, I was just going to make a video of the phenomenon.

    I ran the Demo Scene in the Config Utility and confirmed I could lean in on objects.

    Then run my bare-bones Unity program and cannot lean in on objects. Rotational is fine, but no positional. Scale on all items is at 1,1,1.

    I just verified with a test build as well.

    If nobody has a suggestion I'll make that video.
     
  3. Pingly

    Pingly

    Joined:
    Jun 14, 2015
    Posts:
    10
    Here is my video. I get positional in the Oculus test scene but in Unity I do not.

     
  4. CGPepper

    CGPepper

    Joined:
    Jan 28, 2013
    Posts:
    151
    Did you get this issue resolved