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

Multiple object interactions

To enable multiple object interactions on a single VR object, you can add multiple interactor components to the object. For example, you can add a Ray Interactor component, a Direct Interactor component, and a Gaze Interactor component to the same VR object. This will allow the object to be interacted with using different methods, such as pointing and clicking with a hand controller, walking up to the object, and looking at the object for a certain period.

You can also set up different events for each interactor component, such as changing the color of the object when it is interacted with using the Ray Interactor component and playing a sound when it is interacted with using the Direct Interactor component. It’s also important to keep in mind that the order in which the interactors are added to the object and the order of the events on each interactor component will determine which interaction takes precedence when multiple interactions are possible...

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