diff options
| author | Sébastien Crozet <developer@crozet.re> | 2021-02-24 11:26:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-24 11:26:53 +0100 |
| commit | 649eba10130673534a60b17a0343b15208e5d622 (patch) | |
| tree | 0a5532b645945bbe542ad9a41d1344a318f307d8 /examples2d/damping2.rs | |
| parent | d31a327b45118a77bd9676f350f110683a235acf (diff) | |
| parent | 3cc2738e5fdcb0d25818b550cdff93eab75f1b20 (diff) | |
| download | rapier-649eba10130673534a60b17a0343b15208e5d622.tar.gz rapier-649eba10130673534a60b17a0343b15208e5d622.tar.bz2 rapier-649eba10130673534a60b17a0343b15208e5d622.zip | |
Merge pull request #120 from dimforge/contact_modification
Add the ability to modify the contact points seen by the constraints solver
Diffstat (limited to 'examples2d/damping2.rs')
| -rw-r--r-- | examples2d/damping2.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples2d/damping2.rs b/examples2d/damping2.rs index 43ca2b6..68fd77d 100644 --- a/examples2d/damping2.rs +++ b/examples2d/damping2.rs @@ -40,6 +40,6 @@ pub fn init_world(testbed: &mut Testbed) { /* * Set up the testbed. */ - testbed.set_world_with_gravity(bodies, colliders, joints, Vector2::zeros()); + testbed.set_world_with_params(bodies, colliders, joints, Vector2::zeros(), ()); testbed.look_at(Point2::new(3.0, 2.0), 50.0); } |
