diff options
| author | Crozet Sébastien <developer@crozet.re> | 2021-03-13 18:00:58 +0100 |
|---|---|---|
| committer | Crozet Sébastien <developer@crozet.re> | 2021-03-13 18:00:58 +0100 |
| commit | 3a1502be74901f3df96a05a7d479f15bd4f8b507 (patch) | |
| tree | bfa1ceb9664ddb853e94e9b1983388e4a2195faf /examples3d/fountain3.rs | |
| parent | a967ace7d426eea11b4132328574cc3a48790ea5 (diff) | |
| download | rapier-3a1502be74901f3df96a05a7d479f15bd4f8b507.tar.gz rapier-3a1502be74901f3df96a05a7d479f15bd4f8b507.tar.bz2 rapier-3a1502be74901f3df96a05a7d479f15bd4f8b507.zip | |
First complete implementation of the hierarchical SAP.
Diffstat (limited to 'examples3d/fountain3.rs')
| -rw-r--r-- | examples3d/fountain3.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples3d/fountain3.rs b/examples3d/fountain3.rs index caaa21b..e39ff2a 100644 --- a/examples3d/fountain3.rs +++ b/examples3d/fountain3.rs @@ -80,6 +80,10 @@ pub fn init_world(testbed: &mut Testbed) { * Set up the testbed. */ testbed.set_world(bodies, colliders, joints); + testbed + .physics_state_mut() + .integration_parameters + .velocity_based_erp = 0.2; testbed.look_at(Point3::new(-30.0, 4.0, -30.0), Point3::new(0.0, 1.0, 0.0)); } |
