Flocking

Tutorial

·

intermediate

·

+0XP

·

50 mins

·

Unity Technologies

Flocking

In this tutorial students will learn the about the three rules used for simulating flocking and begin setting up a project to create a flocking fish scene. Next, students will program their fish with more flocking mechanisms to get them to follow the simulated rules and keep them confined in a boundary. Finally, students will complete the flocking simulation and add obstacles to the fish tank.

Languages available:

1. Flocking Part 1


In this lecture students will learn how the flocking algorithm works and begin setting up a project to create a schooling fish simulation.


2. Flocking Part 2


In this lecture students will write a basic flocking algorithm to create a school of fish.


3. Flocking Part 3


In this lecture students will learn how to add a goal position to the flocking simulation.


4. Flocking Part 4


In this lecture students will learn how to keep the flocking fish within the confines of a bounding box so they can't swim off into infinity.


Complete this tutorial