Skip to content

Commit 812a564

Browse files
committed
[add] documentation.
1 parent e957cc8 commit 812a564

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/lambda-rs-platform/src/physics/rapier2d.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,6 +1355,8 @@ impl PhysicsBackend2D {
13551355
});
13561356
}
13571357

1358+
// Check for ended contacts by looking for body pairs that were active in the
1359+
// previous step but are missing from the current step.
13581360
for body_pair_key in self.active_body_pair_order_2d.iter().copied() {
13591361
if current_body_pair_contacts.contains_key(&body_pair_key) {
13601362
continue;

0 commit comments

Comments
 (0)