diff options
| author | Sébastien Crozet <developer@crozet.re> | 2022-05-30 18:24:46 +0200 |
|---|---|---|
| committer | Sébastien Crozet <developer@crozet.re> | 2022-05-30 18:29:18 +0200 |
| commit | ab8833f275ea5576ef2c1a3039459e81fcdb6f4d (patch) | |
| tree | 58704d3d5668222931a65a5e3574e14b014f06cd /src/dynamics/rigid_body_set.rs | |
| parent | 6ce26f3818492682a8572c895264f1e63f94b9d5 (diff) | |
| download | rapier-ab8833f275ea5576ef2c1a3039459e81fcdb6f4d.tar.gz rapier-ab8833f275ea5576ef2c1a3039459e81fcdb6f4d.tar.bz2 rapier-ab8833f275ea5576ef2c1a3039459e81fcdb6f4d.zip | |
Add the option to automatically wake-up rigid-bodies a new joint is attached to
Diffstat (limited to 'src/dynamics/rigid_body_set.rs')
| -rw-r--r-- | src/dynamics/rigid_body_set.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dynamics/rigid_body_set.rs b/src/dynamics/rigid_body_set.rs index 62a6a54..cd8f30a 100644 --- a/src/dynamics/rigid_body_set.rs +++ b/src/dynamics/rigid_body_set.rs @@ -109,8 +109,8 @@ impl RigidBodySet { /* * Remove impulse_joints attached to this rigid-body. */ - impulse_joints.remove_joints_attached_to_rigid_body(handle, islands, self); - multibody_joints.remove_joints_attached_to_rigid_body(handle, islands, self); + impulse_joints.remove_joints_attached_to_rigid_body(handle); + multibody_joints.remove_joints_attached_to_rigid_body(handle); Some(rb) } |
