N
ndaoud360
Guest
I have this for tilting
but it seems to only work properly when holding the phone upright (portrait or landscape)
holding the phone flat (which is what I need) makes the object spaze out but still tilts.
Code:
image_angle = point_direction(0,0,device_get_tilt_x(),-device_get_tilt_y())
holding the phone flat (which is what I need) makes the object spaze out but still tilts.