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 Mirror reflects Vr player

Discussion in 'VR' started by enemali, Nov 10, 2020.

  1. enemali

    enemali

    Joined:
    May 29, 2017
    Posts:
    17
    i will like a VR player to be reflected in a mirror where the player stands in front of a mirror where he/she see 3d character in the mirror that represents the player , so the hand/controller movement will also move the character hands in the mirror head rotation , body movement of the player will also control the character in the mirror . any idea on how to start and go about this ? and will leg movement be possible?
     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,842
    The best way is to have your mirror against a wall, or otherwise ensure that the player can't look "around" the mirror, and make your mirror actually just a gap in the wall (perhaps with a translucent plane over it to look like glass). Then put a duplicate of the player avatar back there, suitably flipped, and coded to match the pose of your main avatar on every frame.
     
  3. enemali

    enemali

    Joined:
    May 29, 2017
    Posts:
    17
    i will give it a try , thanks