Forum Discussion
Anonymous
8 years agoGearVRController?
hello, i've been seeing a lot of references to GearVRController prefab and i'm not seeing it. i have the latest utilities installed. i do have OVR listed under my assets folder. Under there, Prefabs and see only: 1.Cursor-Timer 2. OVRCameraRig 3. OVRCubemapCaptureProbe 4. OVRPLayerController and 5. TrackedRemote.
from what iv'e been reading, there's talk of nesting the GearVRController to a parent OVRCameraRig. finally i've tried testing my scene with just an OVRCameraRig and separately with just a OVRPlayerController and neither seem to work. i think on the OVRPlayerController, i was able to hit the "fire" button on the new GearVR controller itself and my view would rotate slightly to the right once i had the phone in my GearVR.
has it changed? am I supposed to be able to just drop one of these 4 things in the scene and build/run? otherwise, if someone could point me in the right direction - the goal is simply walk-thru or fly-thru in my unity world.
thanks!
from what iv'e been reading, there's talk of nesting the GearVRController to a parent OVRCameraRig. finally i've tried testing my scene with just an OVRCameraRig and separately with just a OVRPlayerController and neither seem to work. i think on the OVRPlayerController, i was able to hit the "fire" button on the new GearVR controller itself and my view would rotate slightly to the right once i had the phone in my GearVR.
has it changed? am I supposed to be able to just drop one of these 4 things in the scene and build/run? otherwise, if someone could point me in the right direction - the goal is simply walk-thru or fly-thru in my unity world.
thanks!
8 Replies
Replies have been turned off for this discussion
- markhansavenExplorerYou should be able to just drop OVRCameraRig into your scene, then CenterEyeAnchor works as the camera...and you move OVRCameraRig around. You drop a GearVRController into the LeftHandAnchor, select left tracked remote, then drop a GearVRController into the RightHandAnchor, select right tracked remote (they are called L Tracked Remoate and R Tracked Remote)...and of course don't just simply move OVRCameraRig around as it'll cause motion sickness.
This worked for me in a blank scene...yeah having some trouble integrating it in with my main project but it seems to work for the most part.
Create a script then, attach it to OVRCameraRig and do OVRInput.Get commands, look up the controller and what command means what or run the test scene and write down what button you need.
I'm still learning myself, currently reading this guide:
https://developer.oculus.com/blog/adding-gear-vr-controller-support-to-the-unity-vr-samples/
P.S - A little correction, left and right eye anchors work as the cameras in the build. - Anonymousthanks! reading through the link now. also i tested again just now using the OVRPlayerController, seems if i swipe the physical gearvr controller with my thumb in an up/down direction i move forward or back. the "fire" button still rotates me.
also, so if i can't find the GearVRController Prefab, you're saying create a script and that's what i attach? Just look for those commands.
i'm finding that today, as 6 months ago and 1 year ago (ha) most of the documentation on the net is out of date :) or missing things ha! i think that's why i get so discouraged! - Anonymousoh, i just read that link. i've tried to go through it a lot in the last 3 days and i get stuck all the time on the "add the GearVRController" under "LeftHandAnchor" and "RightHandAnchor" again, because i don't have a Prefab for "GearVRController" ugh! thanks though. you've given me some other ideas...
- markhansavenExplorer
grue19 said:
oh, i just read that link. i've tried to go through it a lot in the last 3 days and i get stuck all the time on the "add the GearVRController" under "LeftHandAnchor" and "RightHandAnchor" again, because i don't have a Prefab for "GearVRController" ugh! thanks though. you've given me some other ideas...
The prefab should be there. I would try reimporting the package and making sure that all of it's components are not unchecked. - tamer_ozturk2Explorer
IN 1.21 version, GearVRController prefab is no more, you use TrackedRemote prefab instead. It does support the new Oculus go controller as well.
- Anonymousthanks tamer! i will research TrackedRemote!
- Anonymoushm. am i correct in thinking that i should be able to move first-person-like using the bluetooth gearvr controller? example, press the circular touch pad until it clicks and move forward?
- Anonymoushey check this thread out: https://forum.unity.com/threads/gear-vr-touchpad-fps-script.373103/ so that works great, plus something to study!
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 9 years ago
- 8 years agoAnonymous