Skip to content

Commit

Permalink
Fix broad-phase becomming potentially invalid after collision group c…
Browse files Browse the repository at this point in the history
…hange
  • Loading branch information
sebcrozet committed Mar 27, 2022
1 parent 0ac35e1 commit 7efcff6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,21 @@
],
"group": "build"
},
{
"label": "🪲 debug 3d − 💌 deterministic",
"type": "shell",
"command": "cargo",
"args": [
"run",
"--bin",
"all_examples3",
"--features",
"enhanced-determinism",
"--",
"--pause"
],
"group": "build"
},
{
"label": "🛠 tests",
"type": "shell",
Expand Down
2 changes: 1 addition & 1 deletion src/geometry/broad_phase_multi_sap/broad_phase.rs
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ impl BroadPhase {
) = colliders.index_bundle(handle.0);

if !co_changes.needs_broad_phase_update() {
return;
continue;
}
let mut new_proxy_id = co_bf_data.proxy_index;

Expand Down

0 comments on commit 7efcff6

Please sign in to comment.