java - Circular motion of drawing object -
can me in formula make drawing object move in circular motion? had tried formula internet still not working.
ball.set(x_position_ball / 2 - 25 , y_position_ball - 400 , x_position_ball / 2 + 25 , y_position_ball - 350); black.setcolor(color.black); canvas.drawoval(ball, black); int angle = 5; int radius = 10; int center_x = 300, center_y
thank you.
this answer should help, or check mine, rotation. in res/anim folder under 'rotation.xml':
Comments
Post a Comment