if (go_left = 1) {
if x<new_location-(new_location*0.2)
speed=5;
if x<new_location-(new_location*0.1)
speed=1;
}
if x==new_location {
go_left=0;
go_right=0;
speed=0;
}And something odd happened, the object would slow down but then when speed reached 0 (and it did according to the debug watcher) the object would not stop, it kept going at what seemed to be a speed of 1.
Any idea why this is happening?











