Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collision changing line #11

Open
andreabazerla opened this issue Mar 4, 2017 · 1 comment
Open

Collision changing line #11

andreabazerla opened this issue Mar 4, 2017 · 1 comment

Comments

@andreabazerla
Copy link

There is a bug that blocks all cars, due to changing line as figured in these following images.
image
image

@lo-th
Copy link

lo-th commented Nov 14, 2021

Hi
a simple fix is to add stop count in move function of car

if( step <= 0 ) this.toLongStop ++
if ( this.toLongStop > 1000 ) this.alive = false;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants