If you want to learn more about contact manifolds and the inner workings of Box2D I recommend reading this presentation:
http://code.google.com/p/box2d/downloads/detail?name=GDC2006_ErinCatto.zip
Here's answers to some of your questions:
- The contact manifold holds all the contact points between two convex shapes. All points share the same contact normal.
- The old manifold can be empty (point count is zero)
- If a box is touching a plane at one corner of the box, there is just one contact point. If the box rotates until a face touches the plane, there are two contact points. So one contact point is new. If the box rotates some more, there will be just one contact point. So one contact point was removed.
http://code.google.com/p/box2d/downloads/detail?name=GDC2006_ErinCatto.zip
Here's answers to some of your questions:
- The contact manifold holds all the contact points between two convex shapes. All points share the same contact normal.
- The old manifold can be empty (point count is zero)
- If a box is touching a plane at one corner of the box, there is just one contact point. If the box rotates until a face touches the plane, there are two contact points. So one contact point is new. If the box rotates some more, there will be just one contact point. So one contact point was removed.