<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Avatars | Étienne Peillard</title><link>https://www.etiennepeillard.com/tag/avatars/</link><atom:link href="https://www.etiennepeillard.com/tag/avatars/index.xml" rel="self" type="application/rss+xml"/><description>Avatars</description><generator>Wowchemy (https://wowchemy.com)</generator><language>en-us</language><lastBuildDate>Wed, 11 Mar 2026 00:00:00 +0000</lastBuildDate><image><url>https://www.etiennepeillard.com/media/sharing.png</url><title>Avatars</title><link>https://www.etiennepeillard.com/tag/avatars/</link></image><item><title>Lab — Avatars and embodiment in virtual reality</title><link>https://www.etiennepeillard.com/teaching/lab/avatar/</link><pubDate>Wed, 11 Mar 2026 00:00:00 +0000</pubDate><guid>https://www.etiennepeillard.com/teaching/lab/avatar/</guid><description>&lt;h3 id="overview">Overview&lt;/h3>
&lt;p>In this lab, you will explore how avatars are created, animated, and embodied in Virtual Reality.&lt;/p>
&lt;p>Avatars are a central component of immersive systems. They allow users to perceive and interact with virtual environments through a virtual body. However, the design and calibration of avatars can significantly affect &lt;strong>embodiment&lt;/strong>, &lt;strong>comfort&lt;/strong>, and &lt;strong>user perception&lt;/strong>.&lt;/p>
&lt;p>In this lab you will:&lt;/p>
&lt;ul>
&lt;li>create and import a humanoid avatar&lt;/li>
&lt;li>animate it using VR tracking&lt;/li>
&lt;li>experiment with avatar body modifications&lt;/li>
&lt;li>evaluate their impact on &lt;strong>embodiment and user experience&lt;/strong>&lt;/li>
&lt;/ul>
&lt;h2 id="1--avatar-creation">1 — Avatar Creation&lt;/h2>
&lt;p>Create or download an avatar using &lt;strong>Mixamo&lt;/strong>.&lt;/p>
&lt;ol>
&lt;li>Go to &lt;strong>&lt;a href="https://www.mixamo.com" target="_blank" rel="noopener">https://www.mixamo.com&lt;/a>&lt;/strong>&lt;/li>
&lt;li>Select a character from the library&lt;/li>
&lt;li>Download the character in &lt;strong>FBX format&lt;/strong>&lt;/li>
&lt;/ol>
&lt;h3 id="import-the-avatar-into-unity">Import the avatar into Unity&lt;/h3>
&lt;ol>
&lt;li>Create a new &lt;strong>Unity 3D project&lt;/strong>.&lt;/li>
&lt;li>Import the &lt;strong>FBX avatar model&lt;/strong> into the project.&lt;/li>
&lt;li>Drag the avatar into the scene.&lt;/li>
&lt;/ol>
&lt;h4 id="configure-materials-and-textures">Configure materials and textures&lt;/h4>
&lt;p>When importing FBX models, Unity may embed materials and textures inside the model file. Extract them to make them editable.&lt;/p>
&lt;ol>
&lt;li>Select the avatar model in the &lt;strong>Project&lt;/strong> panel.&lt;/li>
&lt;li>In the &lt;strong>Inspector&lt;/strong>, open the &lt;strong>Materials&lt;/strong> tab.&lt;/li>
&lt;li>Click:&lt;/li>
&lt;/ol>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-fallback" data-lang="fallback">&lt;span class="line">&lt;span class="cl">Extract Materials
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">Extract Textures
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ol start="4">
&lt;li>Assign the extracted materials to the correct mesh elements if needed.&lt;/li>
&lt;li>Assign appropriate textures to the materials (albedo, normal map, etc.) to ensure the avatar looks correct in the scene.&lt;/li>
&lt;li>Verify that the avatar is rendered correctly in the scene.&lt;/li>
&lt;/ol>
&lt;h2 id="2--using-the-avatar-in-a-vr-scene">2 — Using the Avatar in a VR Scene&lt;/h2>
&lt;p>Follow the tutorial available here:&lt;/p>
&lt;p>&lt;strong>Unity VR Avatar Tutorial&lt;/strong>&lt;/p>
&lt;p>&lt;a href="https://immersive-insiders.com/blog/how-to-animate-your-avatar-for-vr-in-unity" target="_blank" rel="noopener">https://immersive-insiders.com/blog/how-to-animate-your-avatar-for-vr-in-unity&lt;/a>&lt;/p>
&lt;blockquote>
&lt;p>⚠️ Note&lt;br>
The original tutorial uses the Ready Player Me API, which has since been discontinued.&lt;br>
Ignore all steps related to Ready Player Me and instead use the &lt;strong>Mixamo avatar you imported&lt;/strong>.&lt;/p>
&lt;/blockquote>
&lt;p>The objective of this part is to:&lt;/p>
&lt;ul>
&lt;li>add the avatar to a VR scene&lt;/li>
&lt;li>connect the avatar head and hands to the &lt;strong>VR headset and controllers&lt;/strong>&lt;/li>
&lt;li>observe how avatar motion follows user motion.&lt;/li>
&lt;/ul>
&lt;h2 id="3--inverse-kinematics-ik">3 — Inverse Kinematics (IK)&lt;/h2>
&lt;p>In Virtual Reality, avatars usually do not have full-body tracking.&lt;br>
Most VR systems only track:&lt;/p>
&lt;ul>
&lt;li>the &lt;strong>headset (HMD)&lt;/strong>&lt;/li>
&lt;li>the &lt;strong>left controller&lt;/strong>&lt;/li>
&lt;li>the &lt;strong>right controller&lt;/strong>&lt;/li>
&lt;/ul>
&lt;p>However, the avatar has many joints (shoulders, elbows, spine, hips, etc.).&lt;br>
To animate the full body from only a few tracked points, VR systems use &lt;strong>Inverse Kinematics (IK)&lt;/strong>.&lt;/p>
&lt;h3 id="forward-vs-inverse-kinematics">Forward vs Inverse Kinematics&lt;/h3>
&lt;p>There are two main approaches to animate articulated characters.&lt;/p>
&lt;h4 id="forward-kinematics-fk">Forward Kinematics (FK)&lt;/h4>
&lt;p>In Forward Kinematics, the motion is applied &lt;strong>joint by joint&lt;/strong>.&lt;/p>
&lt;p>For example:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-fallback" data-lang="fallback">&lt;span class="line">&lt;span class="cl">shoulder → elbow → wrist → hand
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Each rotation affects the following joints.&lt;/p>
&lt;p>This approach is commonly used in traditional animation.&lt;/p>
&lt;h4 id="inverse-kinematics-ik">Inverse Kinematics (IK)&lt;/h4>
&lt;p>In Inverse Kinematics, the desired &lt;strong>end position&lt;/strong> of a limb is known.&lt;/p>
&lt;p>For example:&lt;/p>
&lt;ul>
&lt;li>the hand should be at the position of the controller.&lt;/li>
&lt;/ul>
&lt;p>The system then automatically computes the rotations of intermediate joints:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-fallback" data-lang="fallback">&lt;span class="line">&lt;span class="cl">controller position → hand → elbow → shoulder
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>IK therefore allows a virtual body to follow user movements even with limited tracking.&lt;/p>
&lt;h3 id="ik-in-vr-avatars">IK in VR Avatars&lt;/h3>
&lt;p>In most VR systems:&lt;/p>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>Tracked device&lt;/th>
&lt;th>Avatar body part&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>HMD&lt;/td>
&lt;td>head&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>left controller&lt;/td>
&lt;td>left hand&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>right controller&lt;/td>
&lt;td>right hand&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;p>An IK solver estimates the position of:&lt;/p>
&lt;ul>
&lt;li>elbows&lt;/li>
&lt;li>shoulders&lt;/li>
&lt;li>torso&lt;/li>
&lt;li>sometimes legs&lt;/li>
&lt;/ul>
&lt;p>This reconstruction allows the avatar to appear natural even though only a few points are tracked.&lt;/p>
&lt;h3 id="simple-unity-ik-example">Simple Unity IK Example&lt;/h3>
&lt;p>Unity&amp;rsquo;s Animator component includes a built-in IK system.&lt;/p>
&lt;p>Example:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-csharp" data-lang="csharp">&lt;span class="line">&lt;span class="cl">&lt;span class="k">void&lt;/span> &lt;span class="n">OnAnimatorIK&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="kt">int&lt;/span> &lt;span class="n">layerIndex&lt;/span>&lt;span class="p">)&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">{&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="n">animator&lt;/span>&lt;span class="p">.&lt;/span>&lt;span class="n">SetIKPosition&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="n">AvatarIKGoal&lt;/span>&lt;span class="p">.&lt;/span>&lt;span class="n">LeftHand&lt;/span>&lt;span class="p">,&lt;/span> &lt;span class="n">leftController&lt;/span>&lt;span class="p">.&lt;/span>&lt;span class="n">position&lt;/span>&lt;span class="p">);&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="n">animator&lt;/span>&lt;span class="p">.&lt;/span>&lt;span class="n">SetIKRotation&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="n">AvatarIKGoal&lt;/span>&lt;span class="p">.&lt;/span>&lt;span class="n">LeftHand&lt;/span>&lt;span class="p">,&lt;/span> &lt;span class="n">leftController&lt;/span>&lt;span class="p">.&lt;/span>&lt;span class="n">rotation&lt;/span>&lt;span class="p">);&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="n">animator&lt;/span>&lt;span class="p">.&lt;/span>&lt;span class="n">SetIKPosition&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="n">AvatarIKGoal&lt;/span>&lt;span class="p">.&lt;/span>&lt;span class="n">RightHand&lt;/span>&lt;span class="p">,&lt;/span> &lt;span class="n">rightController&lt;/span>&lt;span class="p">.&lt;/span>&lt;span class="n">position&lt;/span>&lt;span class="p">);&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="n">animator&lt;/span>&lt;span class="p">.&lt;/span>&lt;span class="n">SetIKRotation&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="n">AvatarIKGoal&lt;/span>&lt;span class="p">.&lt;/span>&lt;span class="n">RightHand&lt;/span>&lt;span class="p">,&lt;/span> &lt;span class="n">rightController&lt;/span>&lt;span class="p">.&lt;/span>&lt;span class="n">rotation&lt;/span>&lt;span class="p">);&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">}&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>This code forces the avatar&amp;rsquo;s hands to follow the position of the VR controllers.&lt;/p>
&lt;h3 id="experiment">Experiment&lt;/h3>
&lt;p>When testing your avatar, observe:&lt;/p>
&lt;ul>
&lt;li>how the arms move when you raise your hands&lt;/li>
&lt;li>whether the elbows behave naturally&lt;/li>
&lt;li>whether body proportions affect IK quality&lt;/li>
&lt;/ul>
&lt;p>Body modifications introduced later in the lab may significantly affect the behavior of IK.&lt;/p>
&lt;h3 id="add-a-mirror">Add a mirror&lt;/h3>
&lt;p>Seeing your avatar from a third-person perspective helps evaluating embodiment.&lt;/p>
&lt;p>You can add a mirror in your scene using the following Unity package:&lt;/p>
&lt;p>&lt;a href="Mirror%20Asset.unitypackage">Mirror Package&lt;/a>&lt;/p>
&lt;p>Place the mirror in front of the player so they can observe their avatar.&lt;/p>
&lt;h2 id="4--lower-body-animation-optional">4 — Lower Body Animation (Optional)&lt;/h2>
&lt;p>If you want to go further, you can animate the lower body of your avatar.&lt;/p>
&lt;p>Follow the tutorial:&lt;/p>
&lt;p>&lt;a href="https://immersive-insiders.com/blog/animating-ready-player-me-avatar-lower-body-for-vr-in-unity" target="_blank" rel="noopener">https://immersive-insiders.com/blog/animating-ready-player-me-avatar-lower-body-for-vr-in-unity&lt;/a>&lt;/p>
&lt;p>Although the tutorial was written for Ready Player Me avatars, the steps should still apply because &lt;strong>Mixamo avatars also use a Humanoid rig&lt;/strong>.&lt;/p>
&lt;p>The goal of this section is to:&lt;/p>
&lt;ul>
&lt;li>improve the realism of avatar motion&lt;/li>
&lt;li>add basic walking animation&lt;/li>
&lt;li>synchronize upper and lower body movement.&lt;/li>
&lt;/ul>
&lt;h2 id="5--avatar-customization-and-body-modification">5 — Avatar Customization and Body Modification&lt;/h2>
&lt;p>In the previous section you adapted the avatar to match the user’s body (eye height, head position, etc.).&lt;/p>
&lt;p>In this section you will &lt;strong>intentionally modify the avatar body&lt;/strong> to explore how these changes affect:&lt;/p>
&lt;ul>
&lt;li>embodiment&lt;/li>
&lt;li>comfort&lt;/li>
&lt;li>perception of movement.&lt;/li>
&lt;/ul>
&lt;p>Prepare several avatar configurations by modifying parameters such as:&lt;/p>
&lt;h3 id="change-avatar-scale">Change avatar scale&lt;/h3>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-csharp" data-lang="csharp">&lt;span class="line">&lt;span class="cl">&lt;span class="n">avatar&lt;/span>&lt;span class="p">.&lt;/span>&lt;span class="n">transform&lt;/span>&lt;span class="p">.&lt;/span>&lt;span class="n">localScale&lt;/span> &lt;span class="p">=&lt;/span> &lt;span class="k">new&lt;/span> &lt;span class="n">Vector3&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="m">1.3f&lt;/span>&lt;span class="p">,&lt;/span> &lt;span class="m">1.3f&lt;/span>&lt;span class="p">,&lt;/span> &lt;span class="m">1.3f&lt;/span>&lt;span class="p">);&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h3 id="modify-arm-length">Modify arm length&lt;/h3>
&lt;p>Example:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-fallback" data-lang="fallback">&lt;span class="line">&lt;span class="cl">UpperArm_L scale = 1.4
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">UpperArm_R scale = 1.4
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h3 id="modify-body-proportions">Modify body proportions&lt;/h3>
&lt;p>Possible variations:&lt;/p>
&lt;ul>
&lt;li>wider body&lt;/li>
&lt;li>thinner body&lt;/li>
&lt;li>shorter torso&lt;/li>
&lt;li>larger head&lt;/li>
&lt;/ul>
&lt;h3 id="create-a-non-human-avatar">Create a non-human avatar&lt;/h3>
&lt;p>Examples:&lt;/p>
&lt;ul>
&lt;li>extremely long arms&lt;/li>
&lt;li>oversized head&lt;/li>
&lt;li>very short legs&lt;/li>
&lt;/ul>
&lt;h3 id="hybrid-avatars">Hybrid avatars&lt;/h3>
&lt;p>You may also experiment with avatars that remain humanoid but include non-human features:&lt;/p>
&lt;ul>
&lt;li>cat-head humanoid&lt;/li>
&lt;li>robotic body&lt;/li>
&lt;li>stylized proportions&lt;/li>
&lt;/ul>
&lt;p>The goal is to explore how avatar morphology affects user perception and interaction.&lt;/p>
&lt;h2 id="6--evaluating-embodiment">6 — Evaluating Embodiment&lt;/h2>
&lt;p>To evaluate the impact of avatar modifications, conduct a small user study.&lt;/p>
&lt;p>Test &lt;strong>two avatars&lt;/strong>:&lt;/p>
&lt;ol>
&lt;li>a normal avatar&lt;/li>
&lt;li>a modified avatar&lt;/li>
&lt;/ol>
&lt;p>Ask 3-5 participants to experience both configurations.&lt;/p>
&lt;h3 id="questionnaire">Questionnaire&lt;/h3>
&lt;p>Participants rate each statement using a &lt;strong>Likert scale from 1 to 7&lt;/strong>.&lt;/p>
&lt;h4 id="embodiment">Embodiment&lt;/h4>
&lt;ul>
&lt;li>
&lt;p>&lt;em>I felt as if the virtual body was my body.&lt;/em>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;em>The movements of the avatar felt like my own movements.&lt;/em>&lt;/p>
&lt;/li>
&lt;/ul>
&lt;h4 id="agency">Agency&lt;/h4>
&lt;ul>
&lt;li>&lt;em>I felt that I controlled the avatar.&lt;/em>&lt;/li>
&lt;/ul>
&lt;h4 id="comfort">Comfort&lt;/h4>
&lt;ul>
&lt;li>&lt;em>The body proportions felt natural.&lt;/em>&lt;/li>
&lt;/ul>
&lt;h3 id="discussion">Discussion&lt;/h3>
&lt;p>After the experiment, discuss:&lt;/p>
&lt;ul>
&lt;li>Which avatar modifications were the most disturbing?&lt;/li>
&lt;li>Which ones still felt natural?&lt;/li>
&lt;li>How do these results relate to &lt;strong>proprioception and body perception&lt;/strong>?&lt;/li>
&lt;/ul>
&lt;h2 id="report">Report&lt;/h2>
&lt;p>You will submit a short report describing your work.&lt;/p>
&lt;p>Your report should include:&lt;/p>
&lt;h4 id="avatar-configurations">Avatar configurations&lt;/h4>
&lt;ul>
&lt;li>description of the tested avatar configurations&lt;/li>
&lt;li>explanation of how they were implemented in Unity&lt;/li>
&lt;/ul>
&lt;h4 id="questionnaire-results">Questionnaire results&lt;/h4>
&lt;ul>
&lt;li>summary of participant responses&lt;/li>
&lt;li>comparison between normal and modified avatars&lt;/li>
&lt;/ul>
&lt;h4 id="discussion-1">Discussion&lt;/h4>
&lt;p>Discuss the results in relation to:&lt;/p>
&lt;ul>
&lt;li>embodiment&lt;/li>
&lt;li>proprioception&lt;/li>
&lt;li>perception of the body in VR&lt;/li>
&lt;/ul>
&lt;p>You may also propose explanations for the observed effects.&lt;/p></description></item></channel></rss>