Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 1.11 KB

File metadata and controls

13 lines (8 loc) · 1.11 KB

Setting up Unity

This project was written within the 3D editor of Unity (https://unity.com), and therefore requires a newer version of Unity to run. Our experiments were run in the Editor verison 6000.0.32f1.

Setting up the Project

To actually run the project, clone this repository and open the project on Unity by clicking on "Add" -> "Add from disk" and selecting the repository folder. The setting up of the project on Unity can take a bit of time.

Running the project

To run the project, you can click on the run button at the top of the screen to start the simulation. The default out-of-the-box configuration when cloning from the repository does not have any obstacles placed, only a boundary box. Running the simulation like this will spawn a bunch of agents which will move around.

If you do not see any agents, this could be because there is no 3D object that represents the visual of the agent. To fix this, go to the Assets folder (in the Unity editor), then drag a 3D prefab of your choice onto the "Flock Agent" object.

To run the experiments, simply run the different Scenes in the Assets/Scenes folder.