jit.phys non-oscillating spring / rubber band simulation

Diemo Schwarz's icon

Hi, is it possible to configure the jit.phys.6dof spring simulation to obtain a non-oscillating behaviour, more like a rubber band that extends relative to the force applied and then shrinks back without oscillating? I have tried stiffness/damping/friction/mass but didn't get there, yet. (Probably it is a pretty trivial equation, I'd be interested in that, too, as I don't actually need the visuals, just the physics.)

Rob Ramirez's icon

if the settings don't get you there, then it might be time for a hack (e.g. as the body returns back, increase damping until it's stopped, or use constraints, or...)

happy to iterate with you if you post your patch.