Quote:
Originally Posted by Pwneres
For which values should i search to get the face angle ?
|
The Green arrow is the direction your character is facing, in this case North should be 0°. Now all you must do it to look for an increasement while rotating to the right, North can be 0 but doesn't have to. If you got the adress you just got to implent it into your formula for deciding if you have to rotate to north, south etc.
If, for some reason you don't want to, you can also make the bot Strafe (Thanks to the stupid game mechanics). Like that you could theoretically remove most of the code for calculating the waypoints etc, but its suspecious since you will walk backwards etc.