Commit 86f3c48
authored
Fix removing colliders from contact graph
# Objective
When a collider is removed from the contact graph, the `EntityDataIndex` used for mapping entities to graph nodes is not updated. This can cause bugs and even crashes when an entity with the same index is removed and later added back to the graph.
## Solution
Remove colliders from the `EntityDataIndex` in `ContactGraph::remove_collider_with`.EntityDataIndex (#688)1 parent 58a3662 commit 86f3c48
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
380 | | - | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
381 | 383 | | |
382 | 384 | | |
383 | 385 | | |
| |||
0 commit comments