🎨
Creative Technology, Brown Arts Institute
  • Creative Technology
  • Page
  • Wayfinding
    • Ableton Push
    • Animation station
    • Electronics workstation
    • Flatbed scanner
    • MIDI keyboards
    • Projectors
    • Recording Studio microphones
    • Recording Studio patch bay
    • Recording Studio preamps
    • Tablet displays
    • Title
  • Cheatsheets
    • 🖨️Printing to the Epson Stylus P9000
  • Check-Out Equipment
    • Mobile Recording Kit
    • Camera Kit
      • Basic Operations
      • Video Setup for Recording Humans
        • Audio Set Up
        • Custom Mode 1 Settings: A Reference
    • Lens Choices for Lumix Camera
    • Shoulder Mount for Camera
    • Manfrotto Befree Tripod
    • Neewer 3 Point Light Kit
    • Mini LED 3 Point Light Kits
    • Audio Kit
      • Set up and Recording Operation
      • Transferring Files + Audio Interface Setup
    • Shotgun Mic Kit
      • Booming with a Shotgun Mic
    • Basic Recorder Kit
    • Field Recorder
    • 4 Channel Surround Sound Field Recorder
    • GoPro Kit
    • Multi-Cam GoPro Kit
    • Podcasting Kit
  • Guides
    • Virtual reality
      • Unity 3D: Overview
        • Setting up Unity
        • Building 3D objects
        • Using Unity
      • Virtual Reality with Unity: Getting Started
        • Setting up your project
        • Enable Controller Movement + Teleportation
        • Basic Interactable Objects
        • Prototyping VR via Oculus Link
    • 🎙️Podcasting
      • 🎤Beginner Podcasting: Granoff Studio
        • 🖥️STEP 1: Setting up Ableton for Recording
        • 🎙️STEP 2: Microphone Set Up
        • 🎧STEP 3: Headphones Set Up
        • 🎚️STEP 4: Setting Level and Recording
        • 🎛️3 Person Podcasting / Using the Tracking Room
        • 📕Glossary
      • 📱iPhone/Smartphone Podcasting Cheat Sheet
        • 🗣️Basic tips for interviewing
        • 🤳Using Your Phone to Record
    • 3D design and modeling
      • Finding 3D models and materials
  • ✖️Logic Pro X Basics
    • 🔊Creating and using sampler instruments from audio
    • 📊EQ Basics
    • 📂Filter Basics
    • 📈Compressor Basics
    • 🥁Drum programming with Ultrabeat
    • 💪Using Flex Time
  • Camera Kit Set Up for Video Recording Humans
    • The Camera + Basic Operations
      • Initial Setup for Recording Monologues
      • Custom Mode 1 Settings: A Reference
      • Audio Set Up
      • Manfrotto Befree Tripod
      • Neewer Light Kit
Powered by GitBook
On this page
  • Add a locomotion system
  • Set your left controller joystick to move foward, backward, and strafe left and right
  • Set your right controller joystick to turn clockwise and counter-clockwise
  • Teleportation
  • Set up your XR Origin to Teleport
  • Mark game objects/surfaces for teleportation
  1. Guides
  2. Virtual reality
  3. Virtual Reality with Unity: Getting Started

Enable Controller Movement + Teleportation

Moving around, picking up objects and triggering events requires adding VR interaction components in Unity

Last updated 1 year ago

Add a locomotion system

  • In the Hierarchy select the XR Origin Game Object.

  • Click on the Add Component button. Search and select the Locomotion System

  • Drag the XR Origin Game Object in the Hierarchy into the XR Origin parameter drop-down box.

Set your left controller joystick to move foward, backward, and strafe left and right

  • In the Hierarchy select the XR Origin Game Object.

  • Click on the Add Component button. Search and select the Continuous Move Provider

Within the Continuous Move Provider component:

  • Drag the XR Origin Game Object in the Hierarchy into the System drop-down box.

  • Check-on Enable Strafe

  • Under the Left-Hand Move Action, Check-on Use Reference

    • The Reference parameter should auto populate with the XRI LeftHand Locomotion/Move script

    • If it doesn't, click on the bullseye to the right of the drop down and select the XRI LeftHand Locomotion/Move script

Set your right controller joystick to turn clockwise and counter-clockwise

  • In the Hierarchy select the XR Origin Game Object.

  • Click on the Add Component button. Search and select the Continuous Turn Provider

  • Within the Continuous Turn Provider component:

    • Drag the XR Origin Game Object in the Hierarchy into the System drop-down box.

    • Set Turn Speed to 60.

      • Lower the number if you tend to get dizzy or nauseous

    • Under the Right Hand Turn Action, Check-on Use Reference

      • The Reference parameter should auto populate with the XRI RightHand Locomotion/Turn script

      • If it doesn't, click on the bullseye to the right of the drop down and select the XRI RightHand Locomotion/Turn script

Teleportation

This will allow you to teleport instantaneously onto surfaces marked for teleportation

Set up your XR Origin to Teleport

  • In the Hierarchy select the XR Origin Game Object.

  • Click on the Add Component button. Search and select the Teleportation Provider

  • Drag the XR Origin Game Object in the Hierarchy into the System drop-down box.

  • Remember, you can only teleport on surfaces that have been marked for teleportation

Mark game objects/surfaces for teleportation

Select the game object you want to enable teleportation on. This may be a floor, or different platforms in your VR project.

Click on the Add Component button. Add a Collider to your object. Often a plane or box collider are best.

Click on the Add Component button. Search and select the Teleportation Anchor or Teleportation Area, whichever you prefer.

  • Teleportation Area: Teleport to any point on the surface of the object

  • Teleportation Anchor: Teleport to the middle/center of the object

Under the parameter, Interaction Layer Mask, click the drop-down that says default and select Nothing

Click on the drop-down again and select Teleport

  1. If the option for Teleport doesn't exist, select Add Layer

  2. Write Teleport on any free space

  3. Navigate back to the object in the Hierarchy and sent the Interaction Layer Mask to Teleport

  4. Setting up and Using the Teleport Interaction Layer Mask Isn't technically necessary, but it is a best practice that will allow for more control over your project.

A reference of default settings for the Telelportation Area when enabled correctly.