Skip to content

car1l2os/Flocking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Flocking

Instructions

Click on the screen to move the flock

Implemented

  • Represent a boid. Visually show orientation.
  • Make obstacles
  • Make a Flock, a container of boids. Generate steering impulses here (or pass location of other flock-mates to the boid). The behavior:
    • Don’t allow the boid to move into an obstacle (raw adjustment of position)
    • Move towards mouse if the user is clicking (but still allow some movement for the cohesion, seperation and alignment impulses)
    • If the user is not clicking, do a combination of separation, cohesion and alignment.
  • Cone-based vision detection algorithm using dot-product
  • Make the boid actively avoid steering into an obstacle.

Version

Done in Unity 2017.1.1f1

About

Click on the screen to move the flock

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages