Sensors orientation

Hi, has anyone used the location sensors for mobile devices?

I want to try to use this sensor for tilt angle. (left / right)

I pass in the variable “compare the value of orientation gamma” and then I want to display this value on the mobile device screen

In my case, for any tilt I get 0

What am I doing wrong?
2205_001

Hi,

just an idea: did you activate the orientation sensor at the beginning of the scene?

1 Like

I missed this parameter.
Thanks, it works
:slight_smile:

1 Like