Search Unity

  1. We've closed the job boards. If you're looking for work, or looking to hire check out Unity Connect. You can see more information here.
    Dismiss Notice
  2. Unity 2017.3 has arrived! Read about it here.
    Dismiss Notice
  3. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

VR Camera offset, inaccurate collision position

Discussion in 'AR/VR (XR) Discussion' started by abojiuc, Jul 10, 2017.

  1. abojiuc

    abojiuc

    Joined:
    May 29, 2017
    Posts:
    26
    My camera is offset from the rigidbody controller when moving around the real life room. This causes problems because my camera does not handle collisions or have gravity applied to it. How can I make my rigidbody stay where my camera is so that the position for the collision is accurate and not offset? (Oculus)

    Thanks in advance
     
  2. abojiuc

    abojiuc

    Joined:
    May 29, 2017
    Posts:
    26
  3. Dubada01

    Dubada01

    Joined:
    May 29, 2017
    Posts:
    2
    The VRTK asset from the unity store is a pretty robust library of scripts for VR implementation. Part of which is a collider that changes height with the position of the CameraRig. You should check it out.