Closed BeginnerRudy closed 6 years ago
Solved. The problem, this is a logical error. The bike would reverse direction if its x position is <24 or >1000, there are some extreme case.
For example, bike --- | --- 24
The bike would first change direction to move to the right, but at the next frame it still < 24, then it reverse again to move to left, which leads to an error.
There is bug with bike reverse direction, the bike would shocked somtimes, when it is need to reverse, looks like it is confused.