#NVJOB Simple Boids (Flocks of Birds, Fish and Insects)



#NVJOB Simple Boids is a simulation of the behavior of flocks of birds and fish.
This technology is not real Boids, it's pseudo Boids (not mathematical model), but the basic Boids rules (separation, alignment, cohesion) are followed.

The approach implemented in this asset is not classic. This is not the same thing that Sebastian Lague did in his video. Sebastian Lague did the real Flocking Simulation, and I did the imitation.

#NVJOB Simple Boids allows you to create many flocks and many objects in flocks, and it is all controlled by one script. I got good performance by calculating all the flocks in one script, but nevertheless, if you plan to use tens of thousands of birds, this will certainly affect the performance decrease.

Animation of birds, fish and butterflies implemented using shaders. The asset includes two shaders, one for birds and butterflies, the second for fish.

Features:

- One script for all flocking.
- Good performance.
- A large number of flocking objects.
- Random behavior.
- Customization for different types of flocks.
- Reaction of flocks to danger.
- Animation implemented using a shader.

Information

This shader does not work with SRP (HDRP, URP)!
There are five examples in the asset, for understanding the operation and settings.
I recommend importing this asset into a new project. Study the operation of the asset and copy the components you need to your project.

#NVJOB Simple Boids (Simulation Flock). Free Unity Asset. #NVJOB Nicholas Veselov Unity Developer. Николай Веселов Unity Разработчик Санкт-Петербург.
Bird Boids - 2000 birds divided into 8 flocks, with partial migration.
Butterfly - 500 butterflies, divided into 10 flocks, with partial migration, increased miscibility. High performance.
Fish and Bird Boids - 1500 birds divided into 6 flocks and 1500 fish divided into 8 flocks. Two scripts, for birds and for fish.
Fish Boids - 3000 fish, two types, divided into 6 flocks. Two scripts.
Fish Boids Danger - 2100 fish, three types, divided into 6 flocks of birds. One shark in the role of danger. 6 scripts (danger is determined by one script, for one flock).

The scenes use a large number of birds and fish, it is beautiful, but impractical. Use no more than 500 birds and fish in the scene, this amount will almost not affect performance.
See the Butterfly example, 500 butterflies in the scene have a very high FPS.

For Unity version of at least 2019.1.8 (Built-in Render Pipeline)
Current version 1.1.1
Component Settings Shader Settings Performance Tuning Model Creation Report a Problem
Download from Unity Asset Store Download from GitHub Download from Itch.io Download Techno Demo (Itch.io)
#NVJOB Simple Boids (Simulation Flock). Free Unity Asset. #NVJOB Nicholas Veselov Unity Developer. Николай Веселов Unity Разработчик Санкт-Петербург.

#NVJOB Simple Boids (Simulation Flock). Free Unity Asset. #NVJOB Nicholas Veselov Unity Developer. Николай Веселов Unity Разработчик Санкт-Петербург.

#NVJOB Simple Boids (Simulation Flock). Free Unity Asset. #NVJOB Nicholas Veselov Unity Developer. Николай Веселов Unity Разработчик Санкт-Петербург.

#NVJOB Simple Boids (Simulation Flock). Free Unity Asset. #NVJOB Nicholas Veselov Unity Developer. Николай Веселов Unity Разработчик Санкт-Петербург.

#NVJOB Simple Boids (Simulation Flock). Free Unity Asset. #NVJOB Nicholas Veselov Unity Developer. Николай Веселов Unity Разработчик Санкт-Петербург.

#NVJOB Simple Boids (Simulation Flock). Free Unity Asset. #NVJOB Nicholas Veselov Unity Developer. Николай Веселов Unity Разработчик Санкт-Петербург.

#NVJOB Simple Boids (Simulation Flock). Free Unity Asset. #NVJOB Nicholas Veselov Unity Developer. Николай Веселов Unity Разработчик Санкт-Петербург.

#NVJOB Simple Boids (Simulation Flock). Free Unity Asset. #NVJOB Nicholas Veselov Unity Developer. Николай Веселов Unity Разработчик Санкт-Петербург.

#NVJOB Simple Boids (Simulation Flock). Free Unity Asset. #NVJOB Nicholas Veselov Unity Developer. Николай Веселов Unity Разработчик Санкт-Петербург.

#NVJOB Simple Boids (Simulation Flock). Free Unity Asset. #NVJOB Nicholas Veselov Unity Developer. Николай Веселов Unity Разработчик Санкт-Петербург.

#NVJOB Simple Boids (Simulation Flock). Free Unity Asset. #NVJOB Nicholas Veselov Unity Developer. Николай Веселов Unity Разработчик Санкт-Петербург.

#NVJOB Simple Boids (Simulation Flock). Free Unity Asset. #NVJOB Nicholas Veselov Unity Developer. Николай Веселов Unity Разработчик Санкт-Петербург.

#NVJOB Simple Boids (Simulation Flock). Free Unity Asset.

#NVJOB Simple Boids (Simulation Flock). Free Unity Asset. #NVJOB Nicholas Veselov Unity Developer. Николай Веселов Unity Разработчик Санкт-Петербург.

#NVJOB Simple Boids (Simulation Flock). Free Unity Asset. #NVJOB Nicholas Veselov Unity Developer. Николай Веселов Unity Разработчик Санкт-Петербург.

License

This project is licensed under MIT License
(C) Copyright 2016 #NVJOB. Contact: nvjob.dev@gmail.com
Nicholas Veselov Unity Game Developer
Николай Веселов Unity Разработчик Санкт-Петербург