Skip to content

Commit

Permalink
Update agent.js
Browse files Browse the repository at this point in the history
  • Loading branch information
AmanSachan1 authored Mar 31, 2017
1 parent cb4f21b commit d6853a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default class Agent
avgVel.z += m[i].z * (weight[i] / totalweight);
}

if(avgVel.length() < 0.01)
if(avgVel.length() < 0.07)
{
avgVel.x = tempg.x*0.1;
avgVel.y = tempg.y*0.1;
Expand Down

0 comments on commit d6853a3

Please sign in to comment.