feat: switch to the new Bvh from parry for the broad-phase (#853)
* feat: switch to the new Bvh from parry for the broad-phase * chore: cargo fmt + update testbed * chore: remove the multi-grid SAP broad-phase * fix soft-ccd handling in broad-phase * Fix contact cleanup in broad-phase after collider removal * chore: clippy fixes * fix CCD regression * chore: update changelog * fix build with the parallel feature enabled * chore: remove the now useless broad-phase proxy index from colliders * fix tests
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
use rapier3d::prelude::*;
|
||||
use rapier_testbed3d::Testbed;
|
||||
use rapier3d::prelude::*;
|
||||
|
||||
#[derive(serde::Deserialize)]
|
||||
struct State {
|
||||
@@ -27,7 +27,7 @@ pub fn init_world(testbed: &mut Testbed) {
|
||||
state.multibody_joints,
|
||||
);
|
||||
testbed.harness_mut().physics.islands = state.islands;
|
||||
testbed.harness_mut().physics.broad_phase = state.broad_phase;
|
||||
testbed.harness_mut().physics.broad_phase = Box::new(state.broad_phase);
|
||||
testbed.harness_mut().physics.narrow_phase = state.narrow_phase;
|
||||
testbed.harness_mut().physics.ccd_solver = state.ccd_solver;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user