Pausing for Thought

Have the NPCs in the crowd simulation stop moving when they reach their current goal.  Place them into the idle animation. Then at a random time interval start walking toward another randomly chosen goal.



Program this behaviour into your AIControl.cs script.


The solution file called AIControlSolution.zip is attached to this lecture.