Archive for May, 2016
Using a physical controller to activate gaze on Google VR
by admin on May.21, 2016, under Uncategorized
Here is a quick 5 minute guide to use a physical controller to activate gaze with Google VR
- Checkout my branch of the Unity SDK from Github:
https://github.com/wirelessdreamer/gvr-unity-sdk.git - Start a new project in Unity
- 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 - 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 - Add an empty game object to the scene
- Assets->Import new asset
Select: GoogleVR\DemoScenes\HeadsetDemo\ZapperInput.cs - 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