Search Unity

  1. Unity 2019.4 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  3. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

WebXR Exporter Mobile Camera Input Weird (XR not enabled)

Discussion in 'EditorXR' started by laurensmithstudio, May 18, 2020.

  1. laurensmithstudio

    laurensmithstudio

    Joined:
    Feb 11, 2017
    Posts:
    2
    When I build the WebXR Exporter Sample Scene, the touch input on mobile isn't working correctly. Perhaps the way the sample camera script calculates the new vector 3 position doesn't work for mobile input? I was hoping to use the WebXR Exporter to make an app that could be enjoyed on mobile even if the viewer didn't want to enable the immersive XR functionality.

    Here is screen record of the input seen in my webXR api emulator, though the same thing happens on an actual mobile device: https://www.loom.com/share/cc909d571e3541409dab747549f9a575

    Is this simply a mobile compatibility issue or am I meant to include a separate script for touch input?

    Thanks!
     
  2. amirebrahimi_unity

    amirebrahimi_unity

    Unity Technologies

    Joined:
    Aug 12, 2015
    Posts:
    339
    laurensmithstudio likes this.
unityunity