Collection of different boid simulation implementations in unity. Includes: implementation with GameObjects, with ECS only, with ECS and Unity Jobs combined with Burst Compiler (2 different approaches).
This is a collection of 4 different implementations of a boid simulation in Unity. It's an experiment to find out how many boids Unity can simulate and render at once. The four different implementations are the following:
The last one includes code originally made by Bogdan Codreanu: https://github.com/BogdanCodreanu/ECS-Boids-Murmuration_Unity_2019.1
This Unity project was created with Unity 2020.1.0f1. If you notice any improvements which could be made or found a better system, I'd love to hear about it!