Skip to content

Commit

Permalink
Use a simulation rate of 30 steps per second instead of 10
Browse files Browse the repository at this point in the history
  • Loading branch information
patowen authored and Ralith committed Feb 19, 2024
1 parent ebc779d commit 6392ee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/sim_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6392ee8

Please sign in to comment.