I need to rotate an image as I drag up or down with my finger and it can only rotate a max of 90 degrees. Think of a turn style handle on a faucet. example:
at rest :
_______________
as i drag :
\
..\
...\
....\
.....\
......\
.......\
........\
.........\
drag full extent of panel :
|
|
|
|
|
|
|
|
It has to be directly related to how far i have dragged with my finger and i cannot just use an on and off image and swap between them like a switch. Any ideas. I have looked at the tutorial on how to do the compass but it doesn't react to touch it is just turning problematically. Any help would be appreciated.
at rest :
_______________
as i drag :
\
..\
...\
....\
.....\
......\
.......\
........\
.........\
drag full extent of panel :
|
|
|
|
|
|
|
|
It has to be directly related to how far i have dragged with my finger and i cannot just use an on and off image and swap between them like a switch. Any ideas. I have looked at the tutorial on how to do the compass but it doesn't react to touch it is just turning problematically. Any help would be appreciated.