hounder Posted September 20, 2009 Share Posted September 20, 2009 alright this is probably a simple question, but i can't seem to figure it out. ive got a script that goes like this, Until $Cur_Rot = $Next_Rot what its doing is calculating a rotational angle then rotating until it meets that angle. the problem im having is that i cant rotate to that EXACT angle, but rotating with mabye 10 or so would be acceptable. pretty much i just want my code to look like Until $Cur_Rot is within 10 of $Next_Rot cept in autoit language. Link to comment Share on other sites More sharing options...
Richard Robertson Posted September 20, 2009 Share Posted September 20, 2009 Until Abs($Cur_Rot - $Next_Rot) < 10 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now