Jump to content
  • Advertisement
Sign in to follow this  
saturn1

Resting in contact [constraint and iteration]

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

Hello, i read some paper about resting in contact for rigid body physics.

The way of one paper to resolve this problem is to apply impulse for each contact until all contact verify this equation :

Velocity After Contact = -e * Velocity before Contact.

But in the case of stacking rigid body i imagine the problem.

For example a simulation with ground and 2 bodies.

body2
------- Contact 2
body1
------- Contact 1
ground

1. We apply impulse for body at bottom. (this contact verify the condition above), all is ok.
2. We apply impulses for contact 2 at top. so it will modify the relative velocity from body 1, then the relative contact velocity 1, will invalidate the first condition.

So i dont know if it's the best techniques to resolve resting in contact.

But it has the advantage to be very understable.

Thank you for some tips!



Share this post


Link to post
Share on other sites
Advertisement
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!