Hi there,
since 4 days I am trying to rotate an arrow by touching the screen. I already ask here:http://forum.sparrow-framework.org/topic/rotate-object-by-touching-on-screen
But this is for 2 fingers and independent of the current object (my arrow) direction.
I tried also using the formula cos phi=|r1 * r2| / |r1| *|r2| and the formula tan =y/x. But the arrow turns mostly in the wrong direction.
Could anyone help me to explain, what I doing wrong. May be with a little code snippet?
Thank you