torsdag 1 mars 2018

First implementations

Me and Alvaro worked a lot on the kex project today.

I made a script that counts the time from start and shows it in a UI. The UI also shows the number of agents in the scene, the number of agents that have exited and the number of agents that are left:


As soon as all agents leave, the timer stops by itself, and the time turns red to indicate that it stopped:


Alvaro did some testing and research on the crowd simulator that Jack Shabo made. We found some interesting improvements and tweaks that could be made to the simulator. By lowering the size of the  box-collider on the agents, all agents were able to become a lot more compressed together. And also, by changing the interpolation setting on the agent's rigidbodies from "none" to "interpolate" the crowd behaved more realistic when they were packed together.

We want to try changing the colider on the agents from a box-collider to a shpere-collider. Hopefully the people could move more easily against each other and avoid being stuck on a collider-box edge.

Alvaro took the subway scene and removed all obstacles to make a more cleaned up environment for the agents to move in. He set all spawners so that all agents have to move to the same end location. He also created two walls that together make a small gap that the agents have to move through, making a "bottle neck".

This was the scene before (with some added walls):


And this is after, with some agents:

Inga kommentarer:

Skicka en kommentar

Acceleration and Debug

Today and yesterday, I worked on some implementations regarding the movement behavior of the agents. Animation bug. Implemented accelera...