diff options
| author | Sébastien Crozet <developer@crozet.re> | 2024-01-24 22:19:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-24 22:19:08 +0100 |
| commit | 51f5bd6cb466fa65ee755c1905e46ff405217143 (patch) | |
| tree | 67e2a9666504c87fe993ee59b76df3fb1b70760d /src/dynamics/joint/spring_joint.rs | |
| parent | aef85ec2554476485dbf3de5f01257ced22bfe2f (diff) | |
| parent | d1fc90c150ff7ddd077f5770d4ac30108b5e6de5 (diff) | |
| download | rapier-51f5bd6cb466fa65ee755c1905e46ff405217143.tar.gz rapier-51f5bd6cb466fa65ee755c1905e46ff405217143.tar.bz2 rapier-51f5bd6cb466fa65ee755c1905e46ff405217143.zip | |
Merge pull request #581 from dimforge/solver-pick
feat: rework solver parameters to make it easy to recover the old behaviors
Diffstat (limited to 'src/dynamics/joint/spring_joint.rs')
| -rw-r--r-- | src/dynamics/joint/spring_joint.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynamics/joint/spring_joint.rs b/src/dynamics/joint/spring_joint.rs index 5427751..d9a849a 100644 --- a/src/dynamics/joint/spring_joint.rs +++ b/src/dynamics/joint/spring_joint.rs @@ -7,7 +7,7 @@ use crate::math::{Point, Real}; #[repr(transparent)] /// A spring-damper joint, applies a force proportional to the distance between two objects. /// -/// The spring is integrated implicitly, implying that an even undamped spring will still be subject to some +/// The spring is integrated implicitly, implying that even an undamped spring will be subject to some /// amount of numerical damping (so it will eventually come to a rest). More solver iterations, or smaller /// timesteps, will lower the effect of numerical damping, providing a more realistic result. pub struct SpringJoint { |
