Jump to content
  • Advertisement
Sign in to follow this  
PrestoChung

Is a contact graph needed/desired for sequential/impulsive velocity constraints?

This topic is 505 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

So I have implemented a sequential impulses collision/contact solver including the contact manifold generation (up to 4 points for a pair of objects) in the 3-dimensional case.

Now, do I *need* a contact graph to solve for "stacking" groups of objects? Or can I just add more points to the solver without regard to where they are relative to some "root" object, i.e. just use a "flat" list of contacts.

For example if there were 3 objects and two contacts between them, that would be up to 8 contact points to solve for in the iterative solver.

To help converge faster, I am aware of "warm-starting" which is basically caching the impulses over frames for persistent contacts (of course there are issues with "identifying" contact points when the manifolds are changing). Is this all I need to worry about? No contact graph necessary?

Share this post


Link to post
Share on other sites
Advertisement
Nope, you don't need a contact graph. You need to make sure you solve the contact points in a 'relative' consistent order over frames though. The iterative GS/PGS can be quite sensitive to varying constraint order. Usually this comes very naturally and is nothing you need to enforce. And yes, warmstarting helps a lot with stability and friction quality.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!