Begin 0.7.0-dev, small upgrade to behavior params
I'm not happy with the flocking behavior so I fiddled with the program to find these new behavior parameters. It's annoying to constantly rebuild the program, though, and I'd like for the end-user to be able to fiddle with it at runtime. To that end, v0.7.0 shall be the UI update.
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -142,7 +142,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "another-boids-in-rust"
|
||||
version = "0.6.0"
|
||||
version = "0.7.0-dev1"
|
||||
dependencies = [
|
||||
"bevy",
|
||||
"bevy_spatial",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "another-boids-in-rust"
|
||||
version = "0.6.0"
|
||||
version = "0.7.0-dev1"
|
||||
edition = "2024"
|
||||
license = "AGPL-3.0-only"
|
||||
|
||||
|
||||
@@ -12,8 +12,8 @@ const PLAYERBOID_COLOR: Color = Color::srgb(1.0, 0.0, 0.0);
|
||||
const TURN_FACTOR: f32 = 1.0;
|
||||
const BOID_VIEW_RANGE: f32 = 15.0;
|
||||
const COHESION_FACTOR: f32 = 1.0;
|
||||
const SEPARATION_FACTOR: f32 = 10.0;
|
||||
const ALIGNMENT_FACTOR: f32 = 1.0;
|
||||
const SEPARATION_FACTOR: f32 = 5.0;
|
||||
const ALIGNMENT_FACTOR: f32 = 2.0;
|
||||
const SPACEBRAKES_COEFFICIENT: f32 = 0.5;
|
||||
const LOW_SPEED_THRESHOLD: f32 = 50.0;
|
||||
const HIGH_SPEED_THRESHOLD: f32 = 200.0;
|
||||
|
||||
Reference in New Issue
Block a user