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

Awake() in SteerForNeighbors has wrong var squared #25

Closed
LukaszSolo opened this issue Nov 11, 2014 · 2 comments
Closed

Awake() in SteerForNeighbors has wrong var squared #25

LukaszSolo opened this issue Nov 11, 2014 · 2 comments
Assignees

Comments

@LukaszSolo
Copy link

MinDistance = _minDistance * _minDistance;

should be

MinDistanceSquared = _minDistance * _minDistance;
@ricardojmendez ricardojmendez self-assigned this Nov 11, 2014
@ricardojmendez
Copy link
Owner

Thanks for bringing this up - it's the typical issue that just manages to slip through because of code blindness.

@ricardojmendez
Copy link
Owner

Solved on commit 8883f0f

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