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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Show x/y position of camera, program texture changes

Discussion in 'Scripting' started by kevinramser, Dec 1, 2015.

  1. kevinramser

    kevinramser

    Joined:
    Mar 11, 2015
    Posts:
    2
    I wasn't sure about whether to post this here or in the VR section, but here goes:

    I want to make a VR app in which a user can change the video texture on a plane by turning their heads left/right/up/down. So when you turn your head right, the texture on the plane cuts to video 1. When you turn left, it cuts to video 2. Look up it cuts to video 3, etc.

    Can someone refer me to a thread that will show me how to at least display the x- y-position of the Oculus camera rig so I can start playing with that? And any tips about how to program these video texture changes would be great too.

    Thanks!
     
  2. LeftyRighty

    LeftyRighty

    Joined:
    Nov 2, 2012
    Posts:
    5,148
  3. kevinramser

    kevinramser

    Joined:
    Mar 11, 2015
    Posts:
    2
    I'm already familiar with how to apply movie textures.