Jump to content

within 10 values of...


hounder
 Share

Recommended Posts

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...