I'm developing an app that plays 360 videos.
Every time I start the activity that handles the 360 video, it always has a starting angle (yaw) different from the center of the video.
How can I reset the starting yaw orientation?
I saw in GvrApi this method:
public void recenterTracking ()
Recenters the head orientation (resets the yaw to zero, leaving pitch and roll unmodified).
I'm developing an app that plays 360 videos. Every time I start the activity that handles the 360 video, it always has a starting angle (yaw) different from the center of the video.
How can I reset the starting yaw orientation?
I saw in
GvrApi
this method:How can I use it in
video360
sample?