Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/geometry/narrow_phase/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,14 @@ impl NarrowPhase {
}
}

/// Replaces the query dispatcher used by this narrow-phase.
pub fn set_query_dispatcher<D>(&mut self, d: D)
where
D: 'static + PersistentQueryDispatcher<ContactManifoldData, ContactData>,
{
self.query_dispatcher = Arc::new(d);
}

fn update_awake_body_mask(&mut self, islands: &IslandManager) {
self.awake_body_mask.clear();
let len = islands
Expand Down
Loading