The Coordinated Units project focused on creating a mathematical simulation of units moving in specific formations, such as triangles or circles. The primary goal was to ensure that units maintained a consistent distance from each other while traveling from a start point to a destination. The simulation was designed to handle scenarios where formations could be temporarily disrupted, such as when encountering obstacles or other units. In these cases, the units would autonomously re-form their original pattern once the disruption was cleared.
This project involved extensive vector operations to calculate the precise movements of each unit, ensuring they adhered to the formation's structure. The simulation demonstrated the application of mathematical principles and design patterns in object-oriented programming to achieve realistic and efficient movement behaviors in a simulated environment.
Predecessor Projects: Small Phisics Engine
Project continuation: Zombie Rush AI