Experimenting with Different Socket Interactors
<p>In my previous article, we made a keyhole a socket interactor for they key. Now, I am going to make our head a socket interactor so we can place a crown over our head.</p>
<p>First, I’ve imported a crown and a table to set it on.</p>
<p><img alt="" src="https://miro.medium.com/v2/resize:fit:700/1*tZU9vg6lyCGAj1fietg2uA.png" style="height:429px; width:700px" /></p>
<p>Next, we will add some components to our crown. I’ve added a <strong>Box Collider</strong> and a <strong>XR Grab Interactor</strong>. Drag the collider into the collider field.</p>
<p><img alt="" src="https://miro.medium.com/v2/resize:fit:385/1*2KI4PE30701fNCRIF3HsLA.png" style="height:579px; width:385px" /></p>
<p>That’s it for the crown. Now, let’s create our head.</p>
<p>In our <strong>XR Origin</strong>, our eyes are basically the <strong>Main Camera</strong>. So, I will create a <strong>child </strong>gameobject to the <strong>Main Camera</strong> and add a <strong>3D sphere</strong>. Remember, our eyes are the camera, so we will want to drag the sphere above the actual camera. Then, we can disable the <strong>Mesh Renderer</strong>.</p>
<p><a href="https://medium.com/@eveciana21/experimenting-with-different-socket-interactors-9e2fc9d647a7"><strong>Read More</strong></a></p>