juzzlin / DustRacing2D

Dust Racing 2D is a traditional top-down car racing game including a level editor.
http://juzzlin.github.io/DustRacing2D/index.html
GNU General Public License v3.0
301 stars 67 forks source link

When computer cars resets under a bridge, it gets confused #51

Open Wuzzy2 opened 5 years ago

Wuzzy2 commented 5 years ago

It is possible to drive through the little ramp of the bridge when your car is under the bridge.

How to reproduce:

EXPECTED: The restting computer cars will respawn in the direction of the lower road and under the bridge.

ACTUAL: The resetting cars will respawn in the direction of the lower road, but ON the bridge. The poor fellows will perpetually drive into the bridge railing, then reset, drive into the railing again, and so on, in an infinite loop and just fail to continue the race at all.

juzzlin commented 5 years ago

Yeah, this can happen because there's no layer support in the waypoints :)