Hi All,
I want to move the ball image on the desired path lets say a road with a "V" turn with the help of Accelerometer values.I have taken separate image for track with alpha non zero on track. Using alpha values i am calculating next point for the ball. This works fine for the part of the track parallel to X or Y axis.
But i am facing issues when moving the ball on slanted edges as shown below. Ball sometimes stuck up or gives jerks or moves out of the track.
------------------------------------------
O /
------------------------------------- /
/ /
/ /
/ /
/ /
/ /
or (if image is not visible) please consider number seven image as track "7". Want to move the ball on track similar to like "7"
Help is needed in urgent.
Thanks in advance. Regards, Vishal Mali