XR Socket Interactor and XR Interaction Layer Masks

Опубликовано: 12 Октябрь 2024
на канале: XR Terra Class
151
3

This video explains how to use the XR Socket Interactor component of the XR Interaction Toolkit in Unity to hold interactable objects at a set location. In addition, we discuss how you can use XR Interaction Layer Masks to manage interactions between interactors and interactables.

XRTerra Links:
Programs and Courses: http://www.xrterra.com/programs
Newsletter Signup: https://www.xrterra.com/mailing-list-...

00:00 Scene setup
00:33 Grab interactable cube
00:50 Setting up XR Socket Interactor
01:14 Testing socket
01:39 Testing without force grab
02:05 Interactor UnityEvents
02:42 Introducing Key exercise
03:12 Interaction Layer Mask
03:34 Adding an XR interaction layer
04:04 Setting socket layer mask
04:38 Setting interactable layer mask
04:48 Testing out layer masking
05:13 XR Interaction Layer Mask rules
06:22 Outro

Instructor: Gregory Osborne