Search Unity

Unity Gravity on SteamVR Player

Discussion in 'AR/VR (XR) Discussion' started by brianwill76, May 4, 2018.

  1. brianwill76

    brianwill76

    Joined:
    Feb 12, 2017
    Posts:
    12
    Hi

    I'm using the SteamVR Plugin on Unity 5.6.

    I've created a simple road in Unity which I have added a collider and rigibody to and enabled Kinematic

    I then have the "Player" camera asset which I took from the SteamVR Interaction scene, but applied a rigibody with gravity and a box collider.

    So when I run my game I can walk around, and this all works well.

    The problem is, if I look up and press forward (W key), I can go into the air, and gravity doesn't seem to bring me back down.

    And if I look down a press forward (W key), I move through the road and underneath it.

    What alterations do I need to make to the "Player" camera asset to stop this happening?

    Thanks
     
    oliviaclarice likes this.
  2. wilbur6689

    wilbur6689

    Joined:
    Nov 20, 2019
    Posts:
    1
    I'm wondering the same thing, did you ever get this figured out?