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 attach points to virtual objects

To configure attach points on VR objects, we must first understand what attach points are and why they are important. An attach point is a designated location on a VR object other objects can be attached to. This allows for more complex interactions within a virtual environment, such as holding a gun or a tool or placing an object on a shelf.

To set up attach points, we need to select the VR object we want to add the attach point to. Within the object’s hierarchy, we must create an Empty GO and position it at the desired location for the attach point. This empty GO will act as the actual attach point.

Once the Empty GO is in place, we will need to add it to the Attach Transform reference slot on the XR Interactor component. We will test this feature out with our Cylinder GO.

Let’s duplicate the 11_HapticFeedback scene and rename it 12_AttachPoints.

To configure an attach point on the Cylinder GO, go through the following...

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