The v2 ContactListener used b2ContactPoints which was useful as it has position, normal, velocity etc. Can I get this info from the new v2.1 which uses b2Contact which replaces it with the new methods? I can get position from the GetWorldManifold.m_points[0] is this position always the first element? From first use it seems more vague than before.
Thanks
i think the more specific info in given by PRE_SOLVE contact events.
I think I'm missing something, I've used PreSolve it has oldManifold which just contains b2Vec2's and b2ManifoldPoints with 0,0 I can't seem to find any off the old info that the b2ContactPoint has.
You could expect multiples calls to the listener before, so the number of points in world manifold corresponds to the number of calls before. So yes, if you weren't handing that case, you probably just want to read [0].