Skip to content

Conversation

@sinbad
Copy link
Collaborator

@sinbad sinbad commented Dec 19, 2016

I found adding a min/max limit for the cohesion component helped make flocking behaviour more controllable.

I set mine to 0.2 and 0.5 respectively, which I find helps avoid over-clustering close up (less reliance on separation to balance out) and keeps vague tracking within the group right up to the edge of the neighbour range instead of it falling off before that. Default is 0/1 though which is no change on previous behaviour.

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

Successfully merging this pull request may close these issues.

1 participant