Algorithm arrow rotating[SOLVED]


(reopucino) #1

hello guys… I have a bullet, and this bullet movement like parabolic movement, but some I have some problem here…

How I rotating the image using the gravity?


(reopucino) #2

never mind… case close

i has use Math.atan2(velo.y, velo.x)


(Ultima2876) #3