I am trying to make a button move on to a Xamarin Forms page along a circular path. The button should start in the lower left of the screen then progress up the screen moving to the right, then the left in a circular motion, as if tracing a half circle on the left of the screen. The button would then come to stop at a point on that path. The button needs to stay horizontal throughout the movement (so can’t rotate) as if sliding up the path.
I have played about with the TranslateTo method, making it move from bottom to top, and from left to right, then right to left with a SinOut/SinIn easing function which comes close, but doesn’t give me a circular path.
I also tried rotating it in with a negative anchor point which kind of works, but the button rotates and I can’t make it counter rotate as I can only set the anchor point once.
I figured that if I could use an animation loop then I could increment the Y position each loop, and make the x position follow a sin wave value to get the circle (or something similar to that - forgive my out of date maths skills) but I can only see the Translate, Rotate, Fade, etc. functions available on Xamarin forms.
Does anybody have any experience with this, or any suggestions on how I can go about achieving this effect?
Thanks in advance for any suggestions or help.
Best Regards, Al.