#Rotating arm of 2D sprite towards mouse

2 messages · Page 1 of 1 (latest)

half hazel
#

So I'm not entirely sure what your question is, but yes, using atan2 would be the solution

#

an atan2 takes two arguments representing the two legs of a right triangle and returns the angle at one end