unity3d - How to create youtube 360 vr flat cardboard behaviour in Unity -


we've been struggling around trying recreate same input behaviour have when viewing 360 video in youtube when using mobile device in flat mode (viewing while holding in hands).

the issue can not swipe screen without messing rotation of camera. using gvr sdk, have camera moving gyro managed gvr, , swipe parent of camera gameobject (since game object updated gvr each frame).

this means parent has "swiping" rotation , child (camera) has gyro rotation. swiping input should rotate parent, axis rotate (x , y) should of child object. results getting messed up.

anyone has idea how achieve this?

cheers!

note: in order check mean have watch 360 video youtube in device , make sure not in "cardboard" mode.


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -