diff --git a/examples/Constraints/ConstraintDemo.cpp b/examples/Constraints/ConstraintDemo.cpp index 704b9779db..719d06fb8b 100644 --- a/examples/Constraints/ConstraintDemo.cpp +++ b/examples/Constraints/ConstraintDemo.cpp @@ -542,7 +542,7 @@ void AllConstraintDemo::initPhysics() pGen6DOFSpring->setDamping(0, 0.5f); pGen6DOFSpring->enableSpring(5, true); pGen6DOFSpring->setStiffness(5, 39.478f); - pGen6DOFSpring->setDamping(0, 0.3f); + pGen6DOFSpring->setDamping(5, 0.3f); pGen6DOFSpring->setEquilibriumPoint(); } #endif