perf
This commit is contained in:
parent
78acd0313c
commit
28a664641a
2 changed files with 4 additions and 2 deletions
|
@ -25,11 +25,11 @@ enum PausedState {
|
|||
|
||||
fn main() {
|
||||
let rapier_config = RapierConfiguration {
|
||||
scaled_shape_subdivision: 10,
|
||||
scaled_shape_subdivision: 2,
|
||||
timestep_mode: TimestepMode::Variable {
|
||||
max_dt: 0.5,
|
||||
time_scale: 1.0,
|
||||
substeps: 20,
|
||||
substeps: 10,
|
||||
},
|
||||
gravity: Vec2::new(0.0, -9.81 * METER),
|
||||
physics_pipeline_active: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue