Added missing tangential part as Ning suggested. The current implementations is still only an approximation (using total current tangential force vs. incremental updates), but tests suggest an accuracy within a few percent (or better).
DOES NOT FIX WRONG POTENTIAL ENERGY IN CHertzianViscoElasticFrictionInteraction !
Added missing tangential part as Ning suggested. The current implementations is still only an approximation (using total current tangential force vs. incremental updates), but tests suggest an accuracy within a few percent (or better). lasticFrictionI nteraction !
DOES NOT FIX WRONG POTENTIAL ENERGY IN CHertzianViscoE