feat: implement new "small-steps" solver + joint improvements

This commit is contained in:
Sébastien Crozet
2024-01-21 21:02:23 +01:00
parent 9ac3503b87
commit 9b87f06a85
76 changed files with 6672 additions and 4305 deletions

View File

@@ -223,11 +223,8 @@ impl Box2dWorld {
pub fn step(&mut self, counters: &mut Counters, params: &IntegrationParameters) {
counters.step_started();
self.world.step(
params.dt,
params.max_velocity_iterations as i32,
params.max_stabilization_iterations as i32,
);
self.world
.step(params.dt, params.num_solver_iterations.get() as i32, 1);
counters.step_completed();
}