Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying example scenes with Vive #73

Closed
andybak opened this issue Jul 15, 2017 · 2 comments
Closed

Trying example scenes with Vive #73

andybak opened this issue Jul 15, 2017 · 2 comments
Assignees
Labels

Comments

@andybak
Copy link

andybak commented Jul 15, 2017

What I've tried:

  1. Download the zip of Hover-UI-Kit
  2. Open it in Unity
  3. Import Unity Standard Assets and SteamVR from the asset store
  4. Edit the code to fix the error about missing bloom effects (no longer included in standard assets
  5. Add HOVER_INPUT_VIVE to define symbols
  6. Open an example scene
  7. Add InputSceneLoader and edit string params ( Hover/InputModules/Vive/Scenes/ and HoverInputModule-Vive )
  8. Tick auto-load in editor
  9. Press play...

Now I'm not sure what's supposed to happen here but for every scene I try I get no errors in the console.I can see hover UI elements but they aren't attached to my controllers.

And none of the controller inputs do anything.

I had similar results starting my own scene and using the prefabs.

One suggestion - include a demo scene already set up for each input module just so new users can confirm everything works and get a feel for what the library does.

@zachkinstner zachkinstner self-assigned this Jul 17, 2017
@zachkinstner
Copy link
Member

Hi @andybak,

Let's see if we can figure out what's going on. Let's start with...

  1. Open an example scene

Which scene? For now, I'll assume something like like the "CastCubes.unity" example scene.

  1. Add InputSceneLoader and edit string params

The example scenes already include this prefab... are you adding another one?

In the CastCubes scene, for example, the "InputSceneLoader (enable one)" prefab is the first object in the hierarchy. It has several child objects -- you'll want to enable the "Vive" child, and disable all other children (including the "None" child).

I can see hover UI elements but they aren't attached to my controllers.

If multiple input modules are open, Hover UI will pick just one of them to use for input. So, as a first step, please make sure that the "InputSceneLoader" has only one enabled child.

As a next step, please confirm that the HoverInputVive component is attached to the "[CameraRig]" object (and is enabled) in your "HoverInputModule-Vive" scene. This component is responsible for sending the Vive input data to the Hover UI cursors.

@andybak
Copy link
Author

andybak commented Sep 7, 2017

I got CastCubes (sort of) working with a Rift so I'll close this ticket for now.

@andybak andybak closed this as completed Sep 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants