From 6392ee893d5b4e5a7a9bcb9b35d0efe5a1152bc1 Mon Sep 17 00:00:00 2001 From: Patrick Owen Date: Mon, 19 Feb 2024 14:12:56 -0500 Subject: [PATCH] Use a simulation rate of 30 steps per second instead of 10 --- common/src/sim_config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/sim_config.rs b/common/src/sim_config.rs index 54fb979a..353cff05 100644 --- a/common/src/sim_config.rs +++ b/common/src/sim_config.rs @@ -48,7 +48,7 @@ impl SimConfig { let voxel_size = x.voxel_size.unwrap_or(1.0); let meters_to_absolute = meters_to_absolute(chunk_size, voxel_size); SimConfig { - step_interval: Duration::from_secs(1) / x.rate.unwrap_or(10) as u32, + step_interval: Duration::from_secs(1) / x.rate.unwrap_or(30) as u32, view_distance: x.view_distance.unwrap_or(90.0) * meters_to_absolute, input_queue_size: Duration::from_millis(x.input_queue_size_ms.unwrap_or(50).into()), chunk_size,