diff --git a/src/bounce/dynamics/cloth/spring_force.cpp b/src/bounce/dynamics/cloth/spring_force.cpp index 1e3ac57..25ba831 100644 --- a/src/bounce/dynamics/cloth/spring_force.cpp +++ b/src/bounce/dynamics/cloth/spring_force.cpp @@ -79,9 +79,9 @@ void b3SpringForce::Apply(const b3ClothSolverData* data) if (L >= m_L0) { + // Apply tension b3Vec3 n = dx / L; - // Apply tension m_f += -m_ks * (L - m_L0) * n; // Jacobian