presstube / norman

A WebVR animation tool by James Paterson.
http://normanvr.com
369 stars 34 forks source link

add vive controller support #2

Open ngokevin opened 6 years ago

ngokevin commented 6 years ago

Hey James! I think this might get Vive working. There shouldn't be much difference between Vive and Oculus support. We can attach both controller components, and they'll only be active once the respective controller is detected to be connected.

presstube commented 6 years ago

Cool! I don't have a Vive right now. Have you tried it out?

presstube commented 6 years ago

@ngokevin I have some abstraction helpers which I decorate the oculus controls with (mainly so I could switch from left/right handed easily):

https://github.com/presstube/norman/blob/master/js/oculustouchhelpers.js

Looks like I'd have to rework those to consume the different events being produced by the Vive, unless I'm missing something?

ngokevin commented 6 years ago

Didn't see those, thought it was just trigger. How can I set up locally? When I run the server I just get a Google sign in link that leads to a firebase error