« Night at Exotica, Yeoor Hills, Thane | Main | Flash Block Breaker »

January 26, 2007

Flash Rotation - Radiants - degree - atan2


You Would need Flash 8 Player to View this.




Rotation using atan2

click and drag the yellow balls

I was jus replyin to a online query and I figured a lot of people don't try this out.

Radian = Math.atan2(ac, bc);

degree of object = ((Radian*180)/Math.PI);

this is just for some people to remmember it .. including me.. :P

Posted by Varun Shetty at January 26, 2007 05:42 AM

Comments

> I was jus replyin to a online query and I figured
> a lot of people don't try this out.

That's how you calculate the angle. This is quite common way of doing man?

Why you think that not many people use it?

-abdul

Posted by: Abdul Qabiz [TypeKey Profile Page] at January 26, 2007 01:21 PM

Hello Varun

My Name is Walter Bonnett I am the Global Marketing Manager of a Large Industrial Pump Manufacturer (Wilden Pump & Engineering) located in Southern California.

I am Looking to develop a Multimedia Freelance team from India, and I need someone who knows Flash and can speak the language. Infact, we just set up a factory in Chennai, India. If you are interested, in doing Business Please give me a call or Email me.

Walter Bonnett
W 909.422.1780
E walterb@wildenpump.com
C 909.262.7909
E walter_bonnett@hotmail.com

Posted by: Walt [TypeKey Profile Page] at January 29, 2007 01:43 PM

Post a comment

Thanks for signing in, . Now you can comment. (sign out)

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)


Remember me?