Hey everyone!
I'm developing my first daydream app, but I'm stuck with some math-conversion problem:
I would like to rotate a gameobject with the daydream-controller touchpad (depending on the fingerposition on the touchpad). When I put my finger on the touchpad it detects my exact finger-position and stores it into a vector2 variable from 0-1 on both x & y axis. How can I covert the individual values from 0-1 and vice versa into one single degree-float ranging from 0 to 360°?
I made a quick visualisation to give you guys a better idea: