This commit is contained in:
TudbuT 2024-11-24 03:47:23 +01:00
parent 78acd0313c
commit 28a664641a
No known key found for this signature in database
GPG key ID: B3CF345217F202D3
2 changed files with 4 additions and 2 deletions

View file

@ -51,6 +51,8 @@
clang clang
trunk trunk
binaryen binaryen
hotspot
linuxKernel.packages.linux_6_6.perf
]; ];
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath buildInputs; LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath buildInputs;

View file

@ -25,11 +25,11 @@ enum PausedState {
fn main() { fn main() {
let rapier_config = RapierConfiguration { let rapier_config = RapierConfiguration {
scaled_shape_subdivision: 10, scaled_shape_subdivision: 2,
timestep_mode: TimestepMode::Variable { timestep_mode: TimestepMode::Variable {
max_dt: 0.5, max_dt: 0.5,
time_scale: 1.0, time_scale: 1.0,
substeps: 20, substeps: 10,
}, },
gravity: Vec2::new(0.0, -9.81 * METER), gravity: Vec2::new(0.0, -9.81 * METER),
physics_pipeline_active: true, physics_pipeline_active: true,