Skip to content

A productive toolkit for rapidly building spatial computing solutions in the Unity software.

License

Notifications You must be signed in to change notification settings

littlstar/VRTK

 
 

Repository files navigation

VRTK logo

VRTK v4 beta - Virtual Reality Toolkit

A productive toolkit for rapidly building spatial computing solutions in the Unity software.

Slack Documentation Videos Twitter License Backlog

Beta Disclaimer

VRTK v4 has not yet been released fully is still in the beta phase meaning there may still be undiscovered bugs, missing features and a lack of usable documentation. All of these things are being worked on but progress is slow as there is only one person actively working on VRTK v4 in their spare time so please be patient and respectful. You are free to use VRTK v4 in any way you wish, but if you feel you will struggle figuring stuff out for yourself without detailed documentation then it may be better off if you wait until the full release of VRTK v4.

Introduction

VRTK aims to make building spatial computing solutions in the Unity software fast and easy for beginners as well as experienced developers.

Requires the Unity software version 2018.3.10f1 (or above).

Getting Started

Documentation

Visit the VRTK.Academy for a collection of educational content to help you get the most out of building spatial computing solutions with VRTK.

Setting up the project

  • Create a new project in the Unity software version 2018.3.10f1 (or above) using 3D Template or open an existing project.
  • Ensure Virtual Reality Supported is checked:
    • In the Unity software select Main Menu -> Edit -> Project Settings to open the Project Settings window.
    • Select Player from the left hand menu in the Project Settings window.
    • In the Player settings panel expand XR Settings.
    • In XR Settings ensure the Virtual Reality Supported option is checked.
  • Ensure the project Scripting Runtime Version is set to .NET 4.x Equivalent:
    • In the Unity software select Main Menu -> Edit -> Project Settings to open the Project Settings inspector.
    • Select Player from the left hand menu in the Project Settings window.
    • In the Player settings panel expand Other Settings.
    • Ensure the Scripting Runtime Version is set to .NET 4.x Equivalent.

Note: Unity 2019.1 requires additional project setup before importing VRTK.

  • Download and install the XR Legacy Input Helpers from the Unity Package Manager.
    • In the Unity software select Main Menu -> Window -> Package Manager to open the Package Manager window.
    • Select XR Legacy Input Helpers from the Packages tab in the Package Manager window.
    • Click the Install button located in the bottom right of the Package Manager window.
    • The XR Legacy Input Helpers package will now download and install into the project.

Cloning the repo

  • Navigate to the project Assets/ directory.
  • Git clone with required submodules into the Assets/ directory:
    • git clone --recurse-submodules https://github.com/ExtendRealityLtd/VRTK.git
    • change to the newly cloned directory: cd VRTK/
    • git submodule init && git submodule update
  • The Unity software will now import and compile the new files.

Running the example scene

  • Open the VRTK/Samples/Farm/Scenes/ExampleScene scene.
  • Enable Maximize On Play in the Unity Game view control bar to ensure no performance issues are caused by the Unity Editor overhead.
  • Play the scene in the Unity Editor (CTRL + P).
  • The scene should automatically play within any Unity supported XR hardware.
  • Explore the farm yard and enjoy!

Made With VRTK

image image image image image image image image image image image image

Many games and experiences have already been made with VRTK.

Check out the Made With VRTK website to see the full list.

Contributing

We're not currently in a place where accepting contributions would be helpful. But as soon as we're ready we'll let you know!

License

Code released under the MIT License.

Disclaimer

These materials are not sponsored by or affiliated with Unity Technologies or its affiliates. "Unity" is a trademark or registered trademark of Unity Technologies or its affiliates in the U.S. and elsewhere.

About

A productive toolkit for rapidly building spatial computing solutions in the Unity software.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 98.8%
  • ShaderLab 1.2%