Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

swx

Setting up LCP for multiple contacts

This topic is 5389 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Has anyone successfully implemented and solved the LCP for resting contact that Baraff describes in his course notes? My implementation gives me a A matrix: 0.4 -0.2 0.1 0.1 -0.2 0.4 0.1 0.1 0.1 0.1 0.4 -0.2 0.1 0.1 -0.2 0.4 and a B vector: -0.982 -0.982 -0.982 -0.982 But my LCP solver can''t solve it. Is the matrix or vector wrong, or is the problem my LCP solver? The testdata is a cube with the size 10x10x10, mass=10, sitting on a ground plane, and the only force acting on the cube is gravity.

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!