aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/geometry/narrow_phase.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/geometry/narrow_phase.rs b/src/geometry/narrow_phase.rs
index bcce080..15d16fa 100644
--- a/src/geometry/narrow_phase.rs
+++ b/src/geometry/narrow_phase.rs
@@ -341,7 +341,10 @@ impl NarrowPhase {
}
// Generate Stopped collision events for intersections.
- for (a, b, pair) in self.intersection_graph.interactions_with(contact_graph_id) {
+ for (a, b, pair) in self
+ .intersection_graph
+ .interactions_with(intersection_graph_id)
+ {
if pair.start_event_emited {
events.handle_collision_event(
bodies,