Stage 3: Primary Motivator
Agents now have a basic state when they spawn in. They remain idle for a period then wander around for a period and return to idle. Next step is to randomise these periods for each individual, as well as their speed.
100 agents in the first test, 1000 in the second.
I also assigned a random colour to each agent as it spawned in for easier visual identification.
Reworked the camera controls because they weren't working properly. They make more sense now but I lost the movement smoothing in the rework so that's on the to-do list.
The next stage is to build in some UI controls; adding and removing agents, info popup when an agent is selected.
If anyone wants to look at my scripts just ask, I'm happy to send through my project files or talk you through my code.
By Nick Margerison
Email Nick Margerison
Published On: 12/08/2018