Reader small image

You're reading from  Enhancing Virtual Reality Experiences with Unity 2022

Product typeBook
Published inNov 2023
Reading LevelBeginner
PublisherPackt
ISBN-139781804619537
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Steven Antonio Christian
Steven Antonio Christian
author image
Steven Antonio Christian

Steven Christian is an Augmented Reality Developer, Animator, and Medical Student Student. He's also the Owner of Iltopia Studios where he creates comics and cartoons that explore the Black experience in America. He is Unity Certified 3D Artist and Instructor and his goal is to improve equity in arts and technology through content creation and community-focused education.
Read more about Steven Antonio Christian

Right arrow

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:

  1. Create a new empty GO and name it Right Hand Ray.
  2. Go to the RightHand...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Enhancing Virtual Reality Experiences with Unity 2022
Published in: Nov 2023Publisher: PacktISBN-13: 9781804619537

Author (1)

author image
Steven Antonio Christian

Steven Christian is an Augmented Reality Developer, Animator, and Medical Student Student. He's also the Owner of Iltopia Studios where he creates comics and cartoons that explore the Black experience in America. He is Unity Certified 3D Artist and Instructor and his goal is to improve equity in arts and technology through content creation and community-focused education.
Read more about Steven Antonio Christian