Adding and toggling between the ray interactor and the direct interactor
A ray interactor allows the user to interact with objects in the virtual environment using a laser-like pointer, which is useful for selecting or pointing at objects from a distance. On the other hand, a direct interactor allows the user to interact with objects in the virtual environment using their hand or a controller, which is useful for grabbing, pushing, or manipulating objects up close.
Adding interactors
By having both a ray interactor and a direct interactor on the same hand controller, the user has more options and flexibility in how they interact with the virtual environment. They can use the ray interactor to select objects from a distance and the direct interactor to manipulate or grab objects up close, providing a more intuitive and immersive experience.
To add ray interactors to both hands, follow these steps:
- Create a new empty GO and name it
Right
Hand Ray
. - Go to the
RightHand...