Fix broad-phase becomming potentially invalid after collision group change

This commit is contained in:
Sébastien Crozet
2022-03-27 19:17:57 +02:00
committed by Sébastien Crozet
parent 0ac35e12a7
commit 7efcff615e
2 changed files with 16 additions and 1 deletions

View File

@@ -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;