unity3d - Use the OVR Utilities to detect Gear VR inputs -
i'm pretty newbie in developping gear vr applications, need procedure create gear vr app 0. use gear vr compatible galaxy s6 (not recent 1 so..!).
currently, have terrain, , occulus utilities 5 in project. when use standard camera, ovrcamerarig or ovrplayercontroller succeed camera following head orientation (obviously, it's automatic...), after can't move camera dpad...
what procedure (prefab use, scripts attach, modify) working , camera following head rotation , touchpad swipes (can ovr utilities or without)? didn't found complete (documentation seems ... fuzzy me) want use integrated touchpad of gearvr, detecting taps, swipes...
the way succeed working use classic unity input (getmousebuttondown(0) , getaxis(mouse x)). i'm not sure it's correct way this.
many in advance !
to benefit ovrinput class, should ensure have ovrmanager component active in scene. included ovrcamerarigprefab. if using custom hierarchy add somewhere since it's singleton.
also, can't apply transfomations onto camera in vr, should translations , rotations it's root container.
Comments
Post a Comment