05-10-2017 04:42 AM
05-10-2017 04:01 PM
Gear VR Controller provides orientation data through GetLocalControllerRotation(), which returns a quaternion.
Gear VR positions the controller relative to the user by using a body model to estimate the controller’s position. Whether the controller is visualized on the left or right side of the body is determined by left-handedness versus right-handedness, which is specified by users during controller pairing.
To query handedness of a paired controller, use IsControllerConnected() or GetActiveController() to query for RTrackedRemote or LTrackedRemote.
For example:
// returns true if right-handed controller connected
OVRInput.IsControllerConnected(OVRInput.Controller.RTrackedRemote);
Use OVRInput.Get() to query controller touchpad input. You may query the input position with Axis2D:
OVRInput.Get(OVRInput.Axis2D.PrimaryTouchpad, OVRInput.Controller.RTrackedRemote);
A touchpad touch occurs when the user’s finger makes contact with the touchpad without actively clicking it. Touches may be queried with OVRInput.Get(OVRInput.Touch.PrimaryTouchpad). Touchpad clicks are alias to virtual button One clicks, and may be queried with OVRInput.Get(OVRInput.Button.PrimaryTouchpad).
To recenter a Gear VR Controller, use OVRInput.RecenterController().
The volume and home buttons are reserved.
05-11-2017 04:41 AM
05-26-2017 09:30 PM
05-31-2017 09:19 PM
08-20-2017 05:21 PM
10-14-2017 07:53 AM
10-14-2017 07:57 AM
02-19-2018 02:53 AM
02-21-2018 04:13 PM