btGeneric6DofSpringConstraint damping
Posted: Tue Jun 08, 2010 4:49 pm
Hi,
What kind of friction model is used by the btGeneric6DofSpringConstraint? The code doesn't look like it is viscous. I haven't been able to figure out any relation to the viscous damping coefficient or damping rate(damped harmonic oscillator). Is it possible to modify btGeneric6DofSpringConstraint::internalUpdateSprings() to support viscous friction?
Does it make sense to calculate erp, cfm according to spring constant, damping coefficient to simulate spring/damping? What are the equations for the erp, cfm in bullets case?
http://bulletphysics.org/Bullet/phpBB3/ ... f=4&t=2503
http://opende.sourceforge.net/wiki/inde ... oncepts%29
I am quite a noob regarding constraint solvers so any tips are highly appreciated!
What kind of friction model is used by the btGeneric6DofSpringConstraint? The code doesn't look like it is viscous. I haven't been able to figure out any relation to the viscous damping coefficient or damping rate(damped harmonic oscillator). Is it possible to modify btGeneric6DofSpringConstraint::internalUpdateSprings() to support viscous friction?
Does it make sense to calculate erp, cfm according to spring constant, damping coefficient to simulate spring/damping? What are the equations for the erp, cfm in bullets case?
http://bulletphysics.org/Bullet/phpBB3/ ... f=4&t=2503
http://opende.sourceforge.net/wiki/inde ... oncepts%29
I am quite a noob regarding constraint solvers so any tips are highly appreciated!