UnityLearn - AI For Beginners - Crowd Simulations - Flocking
May 22, 2020 AI For Beginners Crowd Simulations Part 3 Beginner Programming: Unity Game Dev Courses Unity Learn Course - AI For Beginners Intro This was by far the most interesting crowd simulation tutorial covered in the basic AI tutorials. This one really got into an actual rule based logic system for pathing of agents within a large group to move them in an interesting way with emergent behavior that is still controlled and possible to direct. Flocking Part 1 Flocking: simple rules to generate movement for groups of individuals to move towards common goals (i.e. birds or fish) They create a FlockManager because flock movement requires the individual agents to know about and understand they movement and positioning of all the other agents around them. This will be at a higher level providing data for an entire flock as a whole. This starts with logic to instantiate the flock by creating many fish prefabs in a randomized starting position bound around the FlockMa...