L2 - Interactivity

Interaction in VR

Install Packages (include Preview) Enable Oculus

Create XR Rig

XR Interaction Debugger (Windows - Analysis)

Make PlayerControl

  • XR controller
  • TryGetValue primaryAxis / triggerButton Controller position

Add Interactable

  • With RayInteractor

With DirectInteractor

  • add sphere collider + sphere object attachTransform

for visuals

  • colorChanger (onActivate functionality)

Add Locomotion System

  • Snap Turn

Add Teleportation

  • Add locomotion System
  • Add Teleportation provider (XR Rig)
  • Add Teleportation area to places Add custom reticle

Add XR UI

  • Add Button

XR Interaction Manager

New Input System (not the legacy one)

Scriptable Objects

Grabbing

Selecting

Activating

UIs in VR

Additional Material

XR Interaction Toolkit by VR with Andrew

XR Input Toolkit 2020 FAQ https://snapandplug.com/xr-input-toolkit-2020-faq/

Reading

A caption
Click to view the spoiler

You found me!

A Markdown callout is useful for displaying notices, hints, or definitions to your readers.
Here’s some important information…
# Example of code highlighting
input_string_var = input("Enter some data: ")
print("You entered: {}".format(input_string_var))
Previous
Next