Rigid body dynamics: Resting contact

  • Thread starter epaik91
  • Start date
  • #1
3
0

Main Question or Discussion Point

I'm currently programming a 2D rigid body dynamics engine.

While I have realistic collision detection and response between polygons, I have trouble in the simulation once I implement gravity.

When these rigid bodies are influenced by gravity, they never fall to complete rest (e.g. they always retain some kinetic energy and keep bouncing around). Additionally, when several bodies are on top of each other, my separating algorithm fails and the bodies interpenetrate a little.

I need to figure out a way to implement resting contact forces. Any advice would be appreciated.
 

Answers and Replies

  • #2
2,006
5
That's a common problem, I suggest that you search out some of the existing technical papers on the subject. Let us know how it goes. (If I were fiddling with this again, I'd try either slightly non-rigid bodies or exact non-iterative solutions to the motion).
 

Related Threads for: Rigid body dynamics: Resting contact

  • Last Post
Replies
2
Views
544
Replies
4
Views
6K
  • Last Post
Replies
4
Views
6K
  • Last Post
Replies
1
Views
8K
  • Last Post
Replies
3
Views
7K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
7
Views
2K
  • Last Post
Replies
3
Views
2K
Top