Looking for Gear VR OnMouseDrag() equivalent
So basically I'm using a "dragball to rotate stuff in my game, the stuff works fine with PC, but in the Gear it doesn't. It surprised me because every other touch input from the vr works with mouse functions, as far as i understand, the touch pad is like a mouse. The dragball should work like this on the Gear: Player looks at it, taps and holds the touchpad, and by moving his/her finger he drags the ball to set rotation of the ball. It works fine on PC, so the question is how to get OnMouseDown() work on the Gear VR, or is there anything like it on mobile?
Answer by Mystique5 · Dec 29, 2016 at 06:07 AM
Hey there. Sorry for the very late reply.
The thing is there are no direct equivalents of OnMouseDrag() in VR mode. What you can do is follow this tutorial here in youtube: Drag And Drop In VR
Good Luck
Thanks for the answer. Well that's a shame, but i will try and make it work with the tutorial you sent. Thanks again.
Your answer
Follow this Question
Related Questions
Vive HMD not displaying scene, only displaying white room 2 Answers
Switch between touchscreen and Google VR to control the Unity camera 1 Answer
Possible to "Build and Run" without Android Device in Unity SDK? 0 Answers
Move two players in the same Screen (Input.TouchCount) 1 Answer
Unity Android database 0 Answers