Closed philkuz closed 10 years ago
Similarly the randTurn() method experiences the same problem and also uses similar implementation. Likely the comparison aspect.
Original lateral movement adjusted to the similar movement method of Player.angleAdj(), and the angular problems adjusted by adding difference comparison.
The simpleAI movement experiences occasional random jumps that otherwise break the smooth metric of the movement. Likely something to do with the use of setX() and setY() or the location evaluation using dx and dy. Debug with a comparison between final point before new destination and the new destination.