Rotating vector
Hi guys!
Well, my problem is not really program-related, it's more math related (math was never my strong side) and I thought maybe someone here could help me out...
Lets says I have 2 points in the X-Y plane: A(180,180) , B(310,310), now I craete a vector from B to A: V=(-180 , -180).
Now, I need to rotate that vector around point B at 1 degree intervals (in an OnEnterFrame event).
I cant seem to figure out the math required...can someone please help me out?
Thank you!
