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 9, 2024
1 parent 6bb8d11 commit 28c4efe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified data/multibody.bullet
Binary file not shown.
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 28c4efe

Please sign in to comment.