iakov.dev

Flocking fish

· 1 min read

Video

I’ve added simple steering behaviour for fish. The steering doesn’t take the environment into account yet, so the fish fly. For the first tests I used the OpenSteer library with its “Boids” behaviour, but I’ll probably switch to my own steering implementation.

Another video, with more intense movement:

Video

Later I’ll add extra forces to keep the fish out of the air and away from walls.