red42/HTML5_Genetic_Cars

Car falls through world; goes forever

Opened this issue · 0 comments

screen shot 2018-06-05 at 10 56 27 am

I had a bug in which the car fell through the world. This allowed it to make infinite forward progress as it continued to fall forever. There should probably be a sanity check for this phenomenon– for instance, if a car falls 100m below the track at that X coordinate, kill it and remove it from the selection pool.