Cleaning a Puddle using the XR Socket Interactor
<p>In this article, I will be demonstrating how to clean a puddle of water from the ground using a mop and a socket interactor.</p>
<p>First, I’ve created a “puddle” of water using a cylinder and adding a capsule collider to it with “is trigger” enabled.</p>
<p><img alt="" src="https://miro.medium.com/v2/resize:fit:700/1*uRpi-ipIkVMqiJ4rxgma3Q.png" style="height:465px; width:700px" /></p>
<p>Next, on the cylinder, I will add the <strong>XR Socket Interactor</strong> and I will make sure to create a new<strong> layer interaction mask</strong> for the Mop that will be cleaning this puddle. I don’t need the “Show Interactable Hover Mesh” enabled since I don’t want a preview of the mop to show when cleaning, especially since I am just going to use the <strong>Hover </strong>event.</p>
<p><a href="https://medium.com/@eveciana21/cleaning-a-puddle-using-the-xr-socket-interactor-6e940b1c2343"><strong>Visit Now</strong></a></p>