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

Question How to change front and back facing camera?

Discussion in 'AR' started by erikwp, Mar 30, 2022.

  1. erikwp

    erikwp

    Joined:
    Jan 16, 2018
    Posts:
    25
    I would really love if someone could point me to some clear documentation about how to set front or rear facing camera in Unity. I'm trying to do face tracking and its stuck on world facing iOS camera.

    I'm using AR Foundation + MARS and after hunting forums for an hour I can't figure out how to do it. I read in a github issue somewhere that you needed to have an ARCameraManager node on the camera and set the camera facing direction. Ok, so I added that and it still doesn't work.

    Am I missing something obvious or is this very poorly documented?

    Thank you
     
  2. todds_unity

    todds_unity

    Unity Technologies

    Joined:
    Aug 1, 2018
    Posts:
    324
    This video explains the Configuration system in AR Foundation 4 (and later).