I have changed at random because i have run lost...
But effectively the only modification that i see(except that you have eliminated many variables....early this code as the same as yours)is the draw enemy position function..
Effectively i haven't tryed to modify this....
So it's not the setpoint function that was wrong...but also the display function.....
But effectively the only modification that i see(except that you have eliminated many variables....early this code as the same as yours)is the draw enemy position function..
Effectively i haven't tryed to modify this....
So it's not the setpoint function that was wrong...but also the display function.....