Fix broad-phase becomming potentially invalid after collision group change
This commit is contained in:
committed by
Sébastien Crozet
parent
0ac35e12a7
commit
7efcff615e
15
.vscode/tasks.json
vendored
15
.vscode/tasks.json
vendored
@@ -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",
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user