Search Unity

Question How do I use the Oculus Integration with the new Input System?

Discussion in 'VR' started by ChronoSynth, Jul 9, 2021.

  1. ChronoSynth

    ChronoSynth

    Joined:
    Nov 20, 2020
    Posts:
    36
    I am currently experimenting with VR. I want to know if it is possible to control the Oculus player rig from the Oculus Integration using the new Input System.
     
  2. Tanya_Li

    Tanya_Li

    Unity Technologies

    Joined:
    Jun 29, 2020
    Posts:
    105
    Hi,

    It is possible, but needs some extra work. Things I could think about to try:
    1. For all those Input.GetKey() or Input.GetKeyDown() in Oculus Integration, switch to Keyboard.current.xxxKey.isPressed or wasPressedThisFrame.

    2. For those configurations in old Input Manager settings, Need to create corresponding Input Actions.
    upload_2021-8-2_17-37-36.png