This is a little Artificial Intelligence programming project I did in Unity3D for Agent Formation. The formation positions were preset before running the codes. When the red “leader” moves, the blue agents will rotate towards the nearest formation position before moving to place. If the position is being taken by another agent, this agent will then look for the next nearest available formation position and move towards it. Hope you guys enjoy the video! | |