Search Unity

Question How To Flip HMD Pitch value sign every 90 degrees (about the y-axis)

Discussion in 'VR' started by g4qh4, Dec 13, 2022.

  1. g4qh4

    g4qh4

    Joined:
    Dec 15, 2021
    Posts:
    24
    How can I get the HMD pitch angle (where the pitch is [0, 180] degrees about the x-axis) to switch sign (from positive to negative or negative to positive) at every 90 degree (global) rotation about the y-axis?
     
    Last edited: Dec 13, 2022