Skip to content
StoneFox edited this page Jun 2, 2016 · 3 revisions

A collection of useful scripts and prefabs for building SteamVR titles in Unity 5.

This Toolkit requires the SteamVR Plugin from the Unity Asset Store to be imported into your Unity project.

Summary

This toolkit provides many common VR functionality within Unity3d such as (but not limited to):

  • Controller button events with common aliases
  • Controller world pointers (e.g. laser pointers)
  • Player teleportation
  • Grabbing/holding objects using the controllers
  • Interacting with objects using the controllers

The toolkit is heavily inspired and based upon the [SteamVR Plugin for Unity3d Github Repo]: https://github.com/ValveSoftware/openvr/tree/master/unity_package/Assets/SteamVR.

The reason this toolkit exists is because I found the SteamVR plugin to contain confusing to use or broken code and I decided to build a collection of scripts/assets that I would find useful when building for VR within Unity3d.

What's In The Box

This toolkit project is split into two main sections:

  • SteamVR_Unity_Toolkit - SteamVR_Unity_Toolkit/
    • Prefabs - SteamVR_Unity_Toolkit/Prefabs/
    • Scripts - SteamVR_Unity_Toolkit/Scripts/
  • Examples - Examples/

The SteamVR_Unity_Toolkit directory is where all of the relevant files are kept and this directory can be simply copied over to an existing project. The Examples directory contains useful scenes showing the SteamVR_Unity_Toolkit in action.