Quantcast
Channel: AR/VR (XR) Discussion
Viewing all articles
Browse latest Browse all 12131

Finding direction of head rotation when camera is fixed

$
0
0
I'm developing a Google Cardboard app with Unity where an object floating in the scene can be rotated in certain fixed directions by rotating one's head. The idea is that the user can only rotate the object left/right/up/down (y-axis or x-axis), one direction at a time, by facing the corresponding direction. Upon facing that direction, the object rotates slowly, and only stops rotating if the user returns to face the center.

Using GvrViewer, I can get the Quaternion and the difference in...

Finding direction of head rotation when camera is fixed

Viewing all articles
Browse latest Browse all 12131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>