aboutsummaryrefslogtreecommitdiff
path: root/examples3d
diff options
context:
space:
mode:
authorSébastien Crozet <developer@crozet.re>2022-02-20 14:21:59 +0100
committerSébastien Crozet <sebastien@crozet.re>2022-03-20 21:49:16 +0100
commit28cc19d104d986db54d8725e68189070bef31a8a (patch)
treea82eda017e7bf2f8715b10450bcabde841440af4 /examples3d
parent412fedf7e30d7d2c4136ee6f6d0818184a539658 (diff)
downloadrapier-28cc19d104d986db54d8725e68189070bef31a8a.tar.gz
rapier-28cc19d104d986db54d8725e68189070bef31a8a.tar.bz2
rapier-28cc19d104d986db54d8725e68189070bef31a8a.zip
Allow removing a rigid-body without auto-removing attached colliders
Diffstat (limited to 'examples3d')
-rw-r--r--examples3d/fountain3.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples3d/fountain3.rs b/examples3d/fountain3.rs
index 31ff15b..bb7199f 100644
--- a/examples3d/fountain3.rs
+++ b/examples3d/fountain3.rs
@@ -63,6 +63,7 @@ pub fn init_world(testbed: &mut Testbed) {
&mut physics.colliders,
&mut physics.impulse_joints,
&mut physics.multibody_joints,
+ true,
);
if let Some(graphics) = &mut graphics {