Skip to content

Commit

Permalink
Fix damping constraint index in ConstraintDemo
Browse files Browse the repository at this point in the history
  • Loading branch information
jad-hamza committed Jan 10, 2024
1 parent 6bb8d11 commit 2d5c597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/Constraints/ConstraintDemo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2d5c597

Please sign in to comment.