I want to display accelerometer angle in a text box
Hi All.
I set up my accelerometer on my game. I want to be able to show the angle (coordinates) I am tilting at. Can anyone let me know how I st this up?
Thanks in advance.
I set up my accelerometer on my game. I want to be able to show the angle (coordinates) I am tilting at. Can anyone let me know how I st this up?
Thanks in advance.
Comments
hope that helps. kipper
edit redsky beat me to it... just couldn't remember quite the bit about the adding of 180 so checked it. otherwise you go negative
@ old_kipper - This did not work either.
Yours does work. Thanks.
It just stays at 180°. Do I have to load app to my device to see if it works?
Thanks.