From d6853a3df5a5138f955eade7124e5bcb9cc5e884 Mon Sep 17 00:00:00 2001 From: Aman Sachan Date: Fri, 31 Mar 2017 03:26:33 -0400 Subject: [PATCH] Update agent.js --- src/agent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agent.js b/src/agent.js index 2a6c9967..44ec99a5 100644 --- a/src/agent.js +++ b/src/agent.js @@ -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;