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

VR Camera Drops To Ground / Floor

Discussion in 'VR' started by krose, Sep 30, 2019.

  1. krose

    krose

    Joined:
    Apr 16, 2017
    Posts:
    3
    Hi,
    I have massive problem I can't find solution for. I have been researching the problem for a while now (all suggestions with different types of colliders, switching of rigid body etc tried). Please check the screen shots.

    Can anyone help?

    I need to mention I have different model which keeps the cam in place..."on their heads" (https://assetstore.unity.com/packages/3d/animations/basic-motion-25834)

    edited: i noticed that camera transform itself to 0,0,0 of the parent. I attached it to various other items for a test and each time it relocated itself to 0,0,0 of the parent...

    edited: another discovery; camera only drops in editor play mode, when built and on mobile phone camera stays where it should! But that still means I cant test it properly in editor

    30-09-2019 21-15-05.jpg 30-09-2019 21-16-09.jpg 30-09-2019 21-16-33.jpg 30-09-2019 21-16-49.jpg
     
    Last edited: Oct 2, 2019
  2. Matt_D_work

    Matt_D_work

    Unity Technologies

    Joined:
    Nov 30, 2016
    Posts:
    202
    Drop a TrackedPoseDriver on your camera :) its in the `com.unity.xr.legacyinputhelpers` package.
     
    ROBYER1 likes this.
  3. MonikaPeters

    MonikaPeters

    Joined:
    Oct 10, 2019
    Posts:
    13
    Drop a PoseDRiver on your camera. I assume it may help.
     
  4. krose

    krose

    Joined:
    Apr 16, 2017
    Posts:
    3

    Attached Files:

    • 12.jpg
      12.jpg
      File size:
      68.8 KB
      Views:
      321