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

Steam VR Sliders

Discussion in 'AR/VR (XR) Discussion' started by EoinOF, Jan 9, 2019.

  1. EoinOF

    EoinOF

    Joined:
    Nov 11, 2017
    Posts:
    6
    Hey guys

    I'm trying to figure out how to implement a slider with Steam VR and basic Unity UI. I had hoped it would just work if I put an Steam Interactable Component and a Steam UI Element Component to the slider. I receive a hover color change but cannot click and grab the knob. I've tried also linear drivers to no avail. Has anyone in these threads ever created a Steam VR slider? I would really appreciate the help.

    Thanks in advance
     
  2. EoinOF

    EoinOF

    Joined:
    Nov 11, 2017
    Posts:
    6
    Just to follow up on that post above. I have built a prototype Steam VR UI slider that works of buttons since I couldn't get the linear driver idea to work. Check it out in the Github link below.

    https://github.com/EoinOF94/SteamVRSliders

    upload_2019-1-22_15-52-44.png
     
  3. Deleted User

    Deleted User

    Guest

    Hey,this saved my semester project for real,btw is there a way to move the slider phyisicaly with your hand ?
     
  4. infernala1d

    infernala1d

    Joined:
    Feb 22, 2018
    Posts:
    4
    Steamvr has script called UIElement and it works for buttons. Try it on slider. Don't forget to add a collider.