diff options
| author | realtradam <[email protected]> | 2021-12-26 22:10:21 -0500 |
|---|---|---|
| committer | realtradam <[email protected]> | 2021-12-26 22:10:21 -0500 |
| commit | 41da3e4ad9d938e488f268b2d30d1867ac2ab943 (patch) | |
| tree | 2b3713b016dc4eb8b6c2a4002816e5e45dd8b817 /app/systems/ai/scatter.rb | |
| parent | 5f8a4b6b17d6ada0097412b13605717dd5a310df (diff) | |
| download | SteelWings-41da3e4ad9d938e488f268b2d30d1867ac2ab943.tar.gz SteelWings-41da3e4ad9d938e488f268b2d30d1867ac2ab943.zip | |
more optimizations
Diffstat (limited to 'app/systems/ai/scatter.rb')
| -rw-r--r-- | app/systems/ai/scatter.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/systems/ai/scatter.rb b/app/systems/ai/scatter.rb index 034fa28..1b51061 100644 --- a/app/systems/ai/scatter.rb +++ b/app/systems/ai/scatter.rb @@ -1,10 +1,6 @@ FF::Sys.new("Scatter", priority: 40) do FF::Cmp::SingletonRandomAIPick[0].entities.each do |entity| sep = entity.components[FF::Cmp::BoidsSeparation][0] - # I did times 3 becase then it will always be greater then - # what it was before and that means it will force a - # seperation to happen even if the default value is - # changed and you forget to update this number here sep.distance = Factory::SampleEnemy.defaults[:boids_seperation_distance] * 10 sep.strength = Factory::SampleEnemy.defaults[:boids_seperation_strength] #puts 'remove align/cohesion/follow'.upcase |
