Skip to content

#NVJOB Simple Boids (Flocks of Birds, Fish and Insects). Flocking Simulation. Free Unity Asset.

License

Notifications You must be signed in to change notification settings

Faust-Wang/nvjob-boids

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

GitHub Logo

#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.


Prerequisites

To work on the project, you will need a Unity version of at least 2019.1.8 (64-bit).

Information

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

I recommend importing this asset into a new project. Study the operation of the asset and copy the components you need to your project.

There are five examples in the asset, for understanding the operation and settings.
Asset already includes several models (three fish models, one bird model and one butterfly model). In fact, you can use any model, see the example "Fish Boids Danger", the shark is animated using a shader.

#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.

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.

Download Techno Demo (Windows, Linux) - nvjob.itch.io/nvjob-simple-boids-td


Patrons: nvjob.github.io/patrons
You can become one of the patrons, or make a sponsorship donation.


Authors: #NVJOB. Developer Nicholas Veselov. Разработчик Николай Веселов. Санкт-Петербург.

License: MIT License. Clarification of licenses.

Support: Report a Problem.

About

#NVJOB Simple Boids (Flocks of Birds, Fish and Insects). Flocking Simulation. Free Unity Asset.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • ShaderLab 47.5%
  • C# 45.1%
  • GLSL 5.9%
  • HLSL 1.5%