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. Dismiss Notice

Resolved XR Device Simulator - Change Z and Y axis

Discussion in 'XR Interaction Toolkit and Input' started by joehirst92, May 17, 2021.

  1. joehirst92

    joehirst92

    Joined:
    Jun 1, 2019
    Posts:
    3
    Hello,

    I want the Y-axis and Z-axis controls to be swapped in the XR device simulator. This means the controller will move in the Z-axis when the mouse moves on the Y-axis.

    What would be the best way to achieve this?
     
  2. joehirst92

    joehirst92

    Joined:
    Jun 1, 2019
    Posts:
    3
    Achieved it by editing the XR device simulator code. Will break on updates but accepted for now.
     
  3. KimberleyC

    KimberleyC

    Joined:
    Mar 22, 2021
    Posts:
    20
    Which part did you edit?