A complete and robust Cardboard Input SDK for Unity in C#
Hey there. First off, thank you for your script! It works well for my Google Cardboard v1. Although, i'm having an issue with Google Cardboard v2. It doesn't seem to accept the tap. Even when I activate Tap is Trigger. Would you happen to know how to fix this?
Currently the code looks for magnetic field data, which Cardboard v2 doesn't use. New framework code needs to be written for what I understand to be a screen tap instead. Unfortunately I don't own a Cardboard v2 and don't know how to mod one out of an existing Cardboard
It'd be even easier than v1, screen taps are way less complicated than magnetic field vector math
In fact, as someone who owns a v2, you could write up a pull request if you were so inclined. Both methods could even live side-by-side in different classes since they use completely different sensors
@Pandaman3D For what it’s worth, I just used the donation money from CC+ to purchase the 2.0 model. You got me thinking about it and from what people have been saying it seems like it’ll be able to help a lot of people
So hopefully you’ll see support for it in the near future
Hello JScott, I found your package. I tried to use it in latest cardboard sdk but didnt work out in my case. plaease can you provide me steps to use your package in version 2.0 . and prefab is also not opening in unity3d 5.x
Hey @pradeepsunovatech. First, did you import the scripts via the latest unitypackage? A lot of the prefab issues come from people just importing the code directly in which Unity doesn't really handle all that well
Second, I assume you mean Cardboard 2.0 in which case not yet. The updated model is shipping to me now which will let me build out the platform to support it but it currently was built with the original in mind
You guys will be the first to know when it supports the new model of course :)
v2 arrived today. In the middle of a job hunt right now but when things die down a bit I can start playing with the integration
I think I have a working version that supports v2. Going to do more device testing and get it ready for release tomorrow
@/all check out v3.2! Cardboard v2 support is added
I also updated it all to the newest Google SDK
and included that in the unitypackage by default
Is it me or is there no Unity package in the repo?
Ignore me :S
Found it in the releases? ;)
It's not ideal to track binaries in git so I try to leverage github's release stuff for that best I can
How do I change the mouse click event for Bhutan on the joystick ?
@maximianoLeite I'm not sure what joystick you're referring to. You can attach whatever method you'd like to the delegates though, so you're only limited by what Unity can handle.
@JScott I'm trying to put the onclick mouse event for this joystick. For example did a function that opens a window when I click on the button I want the joystick perform this action.
sorry I forgot to mention that I will export to android.