VIROO Studio - Increase the precision of the placement of the object in a VIROOXRSocketInteractor

Problem:
Is there any way to define or increase the precision of the placement of the object to be left inside a guide using the XRSocketInteractor function? That is, force the user to place the object in the guide with some similarity to the position of the guide.

Additional information:
VIROO version: 2.6
Unity version: 2022.3.9f1 and 2022.3.40f1.

Solution:
You can make the object to be placed have the same address as the socket guide. For example that the forward direction is the same in both objects so that it is placed correctly, and even a range of angles is added to have more margin.
The process to apply it is very simple:
- Remove the XRSocketInteractor component, along with the VIROOXRSocketInteractor.

- Add the script together with the VIROOXRSocketInteractor again. This script is a copy of XRSocketInteractor but includes the functionality discussed at the beginning.

- Adjust the angle difference value.

Please visit our VirooStudio FAQ&Troubleshooting page for more info: VirtualDesk Support - VIROO Knowledge Base - VIROO STUDIO
Attached Files
AlignedSocketInteractor.cs
404kb