diff options
| author | Kai Stevenson <kai@kaistevenson.com> | 2026-08-23 00:29:26 -0700 |
|---|---|---|
| committer | Kai Stevenson <kai@kaistevenson.com> | 2026-08-23 00:29:26 -0700 |
| commit | a0ff76837ca7ed6bd90cedcfee3832c1d9ad2287 (patch) | |
| tree | 413e574f0b5f41fafc6ced91d3d7bb2d0462237e /src/config.rs | |
| parent | 4380928861c2a43f0d0b9793b9e501c720cf5803 (diff) | |
steel and collider mass
Diffstat (limited to 'src/config.rs')
| -rw-r--r-- | src/config.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs index 5ce5d1f..17c75b3 100644 --- a/src/config.rs +++ b/src/config.rs @@ -11,5 +11,7 @@ pub const PHYSICS_FPS: u32 = 60; pub const PHYSICS_DELTA_TIME: f32 = 1.0 / PHYSICS_FPS as f32; pub const CELLS_TO_METRES: f32 = 20.0; +// 10x10 square of steel = 0.5m^2 = 150kg with density 150 +pub const MASS_SCALING: f32 = 1.0 / 200.0; pub const SETTLED_THRESOHLD: u8 = 7; |
