Avatar & Mirror

Simple avatar and mirror

To achieve a greater sense of presence, a simple but quite powerful technique is having the player see their avatar representation in a virtual mirror.

mirrorrr

May not look like much in a still image, but feels great in motion in VR.

 

Add Avatar (Head + Controller models)

Add a simple head model under Main Camera within the XR Rig hierarchy. You can use this Robot Kyle head .obj geometry or create or find your own. Rigid model is fine, no animation or bones or blendshapes needed. Keep it simple.

The provided asset is from the Robot Kyle demo asset by Unity and subject to the Unity Asset Store agreements.

Make sure you have some form of representation for where the hands are as well. Provided controller models from e.g. XR Interaction Setup are fine but you are free to make your own. These should be under LeftController and RightController.

 

Add Mirror

NOTE: in 2024 we are not using the full Robot Kyle IK rig seen on the video below. When watching, concentrate on the setup of the Camera, Render Texture and Material necessary to do a simple virtual “mirror”. Your scenes do not need to have a robot torso or arms, it is enough to just do a floating head + floating controller models.

 

Another tutorial that illustrates the same setup. Far from a “TRUE MIRROR” though :)