Sign in to follow this  
Followers 0
corgano

angles

2 posts in this topic

I need to find out how to use angles with autoit, but I cannot wrap my head around it.

What i need to do is to make a gui 100 pixels away from the center at 20 degrees. How would I do this? How would i make the script return the x,y of the pixel thats 100 pixles away from the center?

func angle(distance,degrees)

<stuff i don't know>

return $xy ;in array?
endfunc

0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e

Share this post


Link to post
Share on other sites



http://www.autoitscript.com/forum/index.php?showtopic=90707&view=findpost&p=652284

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0