I have a Box2D world with a mixture of static and dynamic bodies. On collisions, I can only get the positions of the dynamic ones.
Is it possible to get the position
You can get the position vector using the following code:
b2Transform t = body->GetTransform(); b2Vec2 pos = b2Vec2(t.p.x,t.p.y);