i have make a VR app play video by nibiru sdk 2.0.6 , all is ok but now i need to set a default view because in my app user can turn around to see hostpot and play video so when user look a hostpot on the left or right , video always show in the middle but i want the video display in front of user , last time i use this script : GvrHead.defaultView.eulerAngles = new Vector3(0,GvrViewer.Instance.HeadPose.Orientation.eulerAngles.y - GvrViewer.Instance.HeadPose.Orientation.eulerAngles.z , 0);
does nibiru have some script like this ?
thanks a ton ! |
|