Wirelessdreamers Projects

Using a physical controller to activate gaze on Google VR

by on May.21, 2016, under Uncategorized

Here is a quick 5 minute guide to use a physical controller to activate gaze with Google VR

  1. Checkout my branch of the Unity SDK from Github:
    https://github.com/wirelessdreamer/gvr-unity-sdk.git
  2. Start a new project in Unity
  3. In Unity Assets->Import Package->Custom Package
    Select GoogleVRForUnity from the root of the GIT repository you just checked out
    Click Import once the dialog appears
  4. In the Assets pane in unity (bottom left by default)
    Navigate to: Assets->GoogleVR->DemoScenes->HeadsetDemo
    Drag DemoScene to the Hierarchy pane (left side above assets by default)
    Right click the Untitled scene above DemoScene and select Remove Scene
  5. Add an empty game object to the scene
  6. Assets->Import new asset
    Select: GoogleVR\DemoScenes\HeadsetDemo\ZapperInput.cs
  7. Add Component->Scripts
    Select: Zapper Input

Your Now Ready to shoot things 🙂

See it in action: https://youtu.be/ggDm14rK0FY

If you don’t want to build it, and just try it out, download the built apk from github: Here

 

 


Comments are closed.

Post Calendar

May 2016
M T W T F S S
« Aug    
 1
2345678
9101112131415
16171819202122
23242526272829
3031