Skip to content

Commit 883a7c9

Browse files
authored
code freeze megagénial (#176)
1 parent f98f375 commit 883a7c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/bittybuzz/buzz_scripts/behaviors/follow_leader.bzz

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function tick_follow_leader(stig){
2323

2424
# Cummulating the avoidance vector
2525
var avoidance_vec = obstructing_neighbors.reduce(function(rid, data, accum){
26-
var vec_length = -1/math.pow(data.distance, 1.5)
26+
var vec_length = -0.8/data.distance
2727
var vec = math.vec2.newp(vec_length, data.azimuth)
2828
return math.vec2.add(vec, accum);
2929
},

0 commit comments

Comments
 (0)