12 ms·
I was doing spring/damper collision ragdolls in the late 1990s.[1] Slower, but more accurate. Friction works. Not real time back then, though. Not enough CPU po
by Animats 4y ago
I was doing spring/damper collision ragdolls in the late 1990s.[1] Slower, but more accurate. Friction works. Not real time back then, though. Not enough CPU power yet. You can be too early.
Impulse-constraint systems have a "boink" problem. Velocities change instantaneously. This looks OK for small objects, but bad for large ones.
[1] https://www.youtube.com/watch?v=5lHqEwk7YHs https://www.youtube.com/watch?v=5lHqEwk7YHs
- erwincoumans 4y agoHi John, I recall that, those ragdolls falling down stairs. From what I heard from a few Pixel employees, Pixar uses Bullet for some rigid body VFX effects, and Bullet still uses velocity-level LCP in combination with maximal coordinate constraints or with Featherstone-style reduced coordinate forward dynamics. The impulse/velocity-based contact model allows to model arbitrary soft contact (using contact force mixing (CFM) and error reduction parameter (ERP) terms), similar to spring-damper or MuJoCo-style contact (for MuJoCo see https://mujoco.readthedocs.io/en/latest/computation.html https://mujoco.readthedocs.io/en/latest/computation.html and https://github.com/deepmind/mujoco https://github.com/deepmind/mujoco). For the last 10 years we use this also for robotics simulation for quadruped robots and robot arm grasping contact. Check out Erin Catto's presentation about re-inventing soft springs in this PDF: https://box2d.org/files/ErinCatto_SoftConstraints_GDC2011.pdf https://box2d.org/files/ErinCatto_SoftConstraints_GDC2011.pd... Furthermore, impulse/velocity-level LCP based constraint solving can be combined with finite element method (FEM) or mass-spring based deformable contact solving if higher-accuracy contact and friction modeling is needed.