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

Bug with prevent_overlapping=True #8

Open
kauttoj opened this issue Apr 2, 2021 · 0 comments
Open

Bug with prevent_overlapping=True #8

kauttoj opened this issue Apr 2, 2021 · 0 comments

Comments

@kauttoj
Copy link

kauttoj commented Apr 2, 2021

FYI, the case "prevent_overlapping=True" is broken. Lines 233-234 of fa2l.py should read as:

n.x = n.x + (n.dx * factor)
n.y = n.y + (n.dy * factor)

Otherwise the algorithm does nothing (initial state is never updated).

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

1 participant