I need some help with a simple gyro rotation of an image. I’ve read through the boards and still can’t seem to get the function to work (or move at all for that matter). I’ve tried reading through Mellin’s explanation of gravity rotation([Tutorial] Gravity Rotation), but maybe I missing something. I even tried adding a hidden text field as he suggested in another post.
Here is the basic premise of what I want to do. I have a simple static image that I want to rotate when tilted. Either direction is fine. The idea is to give a shiny effect to a background by rotating when someone moves their watch.
My attempt was simply to put (gyroraw()) in the rotation field. I’m not sure what the extents of the the x axis raw data is based on the description in the documentation. But even assuming its a value between -360 and 360, then shouldn’t it output a value that would cause the image to rotate? Either I’m trying to over simplify this expression or maybe I’m not complicating it enough. I could use some help.
Here is the watch face I’m working on: