Hello! First time posting here or anywhere so if im violating some rules please let me know! I am using a Samsung galaxy note 8 with gear VR programming on the most recent version of Unity.
I would like to write a script that would basically determine if the angle of the gear VR controller is over or under a certain quantity on the X, Y or Z axis, then something happens. I looked up some strategies and got terribly overwhelmed with Quaternions and I was wondering if I was overcomplicating this and there was an easy commonly used solution for this problem?
Absolutely any input or resources would be fantastic, sorry for the overly simple and probably-answered-before question,
I'm not sure if there is a simple way, but you can check the camera angle against different Euler's transforms - https://docs.unity3d.com/ScriptReference/Transform-eulerAngles.html , I'll try to find some better sample code