You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Indicator Manager is configured to use a DistanceIndicator as a Backup Prefab, but the expected behavior is not observed. Two main issues are encountered regarding the DistanceIndicator and distance calculation:
No Indicator Found in Scene: Despite attempts in the DistanceIndicator.cs script to find an indicator in the scene, it's not being located (line 64, DistanceIndicator.cs).
Incorrect Distance Calculation: When a tracking object is present (specifically referring to line 28 in DistanceIndicator.cs and line 32 in DistanceIndicatorArc.cs, which contain the same code), the minDis variable doesn't accurately detect the distance between the hands and the object. This is based on my testing and observations, where I've printed minDis with the Update() method to the screen.
My current objective is to achieve different sound pitch feedback based on the distance between the tracking object and the hand, which seems like is partially implemented in code already.
Please provide guidance or assistance to resolve these issues.
The text was updated successfully, but these errors were encountered:
Thanks for your report. If you are using your own scene, make sure you have IndicatorManager configured exactly same as our demo scene (HelloWorld.unity). Make sure you linked the prefabs (including the Backup Prefab you mentioned exactly the same way as we did in HelloWorld.Unity. This way the indicators will be automatically added to any object that has been "set grabbable". To do so, select an 3D object and click on "Set Grabbable" from the "Portable" menu. Hope that helps.
Once you are able to get indicator work, the second issue might be resolved by its own. Let me know if you encounter further issues.
Description
The Indicator Manager is configured to use a DistanceIndicator as a Backup Prefab, but the expected behavior is not observed. Two main issues are encountered regarding the DistanceIndicator and distance calculation:
No Indicator Found in Scene: Despite attempts in the DistanceIndicator.cs script to find an indicator in the scene, it's not being located (line 64, DistanceIndicator.cs).
Incorrect Distance Calculation: When a tracking object is present (specifically referring to line 28 in DistanceIndicator.cs and line 32 in DistanceIndicatorArc.cs, which contain the same code), the minDis variable doesn't accurately detect the distance between the hands and the object. This is based on my testing and observations, where I've printed minDis with the Update() method to the screen.
My current objective is to achieve different sound pitch feedback based on the distance between the tracking object and the hand, which seems like is partially implemented in code already.
Please provide guidance or assistance to resolve these issues.
The text was updated successfully, but these errors were encountered: