Add a parameter to indicate if collider removal should wake-up its parent.

This commit is contained in:
Crozet Sébastien
2020-11-19 11:09:40 +01:00
parent 1b0f39073f
commit 0d49a80974
3 changed files with 14 additions and 3 deletions

View File

@@ -207,7 +207,7 @@ impl RigidBodySet {
* Remove colliders attached to this rigid-body.
*/
for collider in &rb.colliders {
colliders.remove(*collider, self);
colliders.remove(*collider, self, false);
}
/*