johnroper100 / CrowdMaster

Crowd Simulation for the Masses
http://crowdmaster.org
GNU General Public License v3.0
133 stars 24 forks source link

Flocking distance factor #33

Closed johnroper100 closed 7 years ago

johnroper100 commented 7 years ago

Add distance factor as output for flocking. startDistFac = (co_find - start).length / radius