Update intersection graph regardless of active_events
This commit is contained in:
committed by
Sébastien Crozet
parent
ddb978c77a
commit
92b8580761
@@ -783,13 +783,13 @@ impl NarrowPhase {
|
|||||||
if active_events.contains(ActiveEvents::INTERSECTION_EVENTS)
|
if active_events.contains(ActiveEvents::INTERSECTION_EVENTS)
|
||||||
&& intersection != edge.weight
|
&& intersection != edge.weight
|
||||||
{
|
{
|
||||||
edge.weight = intersection;
|
|
||||||
events.handle_intersection_event(IntersectionEvent::new(
|
events.handle_intersection_event(IntersectionEvent::new(
|
||||||
handle1,
|
handle1,
|
||||||
handle2,
|
handle2,
|
||||||
intersection,
|
intersection,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
edge.weight = intersection;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user