Hello Vision OS Developers,
I’ve recently downloaded the VR sample scene from the Apple Vision OS XR plugin package and I’m trying to understand how to manage and modify the interactions within it. The scene is quite rich, but I’m looking to simplify it for my needs.
In the scene, there are several scripts that highlight objects, the ceiling, and the plane. I would like to disable these visual highlights, but I’m not sure which components or scripts are responsible for this. Could someone guide me on how to turn off these highlights?
Additionally, every time I perform a pinch gesture, a green sphere and a ray interactor are created. When I disable these, I seem to lose the ability to interact with other objects in the scene. I want to streamline the scene by disabling these automatic interactions while retaining only the hand visualization and the basic interactions with objects (similar to XR interactable components).
Can anyone provide some insights or point me towards the right documentation or sample code that would help me:
- Disable specific scripts responsible for unnecessary highlights and automatic object creation.
- Configure the scene to maintain basic hand interactions without the added complexity of automatic features.
Thank you so much!!!