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...
I'm sorry if I wasn't clear, but I'm doing everything on a 2D plane. I'm not sure what you mean by stating that the vertexes won't be on the same plane, but I think you may be confusing 3D graphics with my problem (shading?). In addition, finding a way to solve this problem for convex polygons...
I'm working on an engine right now, and I'm having trouble calculating the moment of inertia for a polygon. Is there any way to easily do this without decomposing the polygon into triangles?
edit: I've looked at the wikipedia page with examples on the subject...