found an error: if(temp.x != 1000) { temp.y = 15 * time_step; } supposed to be -1000. I've corrected it in my code but it doesn't help.


I know I can.