CodingTrain / CodingTrain/Suggestion-Box

Boids or Doids

Open
#821 0 comments 0 reactions 0 assignees View on GitHub
Question
Dominant language
No language data
Stars
570
Forks
85
PR merge metrics
No merged PRs in 30d

Description

I recently grabbed a copy of the Flocking Boids example you created in the past. I have been messing around with it. I've added the ability to apply a left & right directional force. But, I'm having an issue. Every now and then, I get stragglers that go off in a different direction. If they get close to the other ones, they will rejoin the group. I'm looking for the best way to keep stragglers from existing. Attached is the code, for your examination. It might look a little different. But, it's mostly ALL the original code.

[doids.zip](https://github.com/CodingTrain/Rainbow-Topics/files/1675953/doids.zip)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.