diff options
| -rw-r--r-- | src/geometry/contact_generator/heightfield_shape_contact_generator.rs | 8 | ||||
| -rw-r--r-- | src/pipeline/physics_pipeline.rs | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/geometry/contact_generator/heightfield_shape_contact_generator.rs b/src/geometry/contact_generator/heightfield_shape_contact_generator.rs index f59a94b..04afc65 100644 --- a/src/geometry/contact_generator/heightfield_shape_contact_generator.rs +++ b/src/geometry/contact_generator/heightfield_shape_contact_generator.rs @@ -71,10 +71,10 @@ fn do_generate_contacts( } else { manifold.subshape_index_pair.1 }; - println!( - "Restoring for {} [chosen with {:?}]", - subshape_id, manifold.subshape_index_pair - ); + // println!( + // "Restoring for {} [chosen with {:?}]", + // subshape_id, manifold.subshape_index_pair + // ); // Use dummy shapes for the dispatch. #[cfg(feature = "dim2")] diff --git a/src/pipeline/physics_pipeline.rs b/src/pipeline/physics_pipeline.rs index 7185c62..f00fa8d 100644 --- a/src/pipeline/physics_pipeline.rs +++ b/src/pipeline/physics_pipeline.rs @@ -68,8 +68,8 @@ impl PhysicsPipeline { bodies: &mut RigidBodySet, colliders: &mut ColliderSet, ) { - // broad_phase.maintain(colliders); - // narrow_phase.maintain(colliders, bodies); + broad_phase.maintain(colliders); + narrow_phase.maintain(colliders, bodies); } /// Executes one timestep of the physics simulation. |
