Skip to content

Commit d6853a3

Browse files
authored
Update agent.js
1 parent cb4f21b commit d6853a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/agent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export default class Agent
7373
avgVel.z += m[i].z * (weight[i] / totalweight);
7474
}
7575

76-
if(avgVel.length() < 0.01)
76+
if(avgVel.length() < 0.07)
7777
{
7878
avgVel.x = tempg.x*0.1;
7979
avgVel.y = tempg.y*0.1;

0 commit comments

Comments
 (0)