OK, i was wrong with my guess.
But i have similar question. I want to make compound object from rectangle, circle and triangle. But i have problem illustrated on this picture. Is it possible to make this working?

I only added this code to original source to make a test.
Code:
circ.radius = 20 / m_physScale;
circ.density = 0.0;
circ.friction = 0.4;
circ.restitution = 0.3;
bd = new b2BodyDef();
bd.position.Set(2*((10*j) / m_physScale), (160 + 20*j) / m_physScale);
head = m_world.CreateBody(bd);
head.CreateShape(circ);
head.SetMassFromShapes();
box.density = 0.0;
box.friction = 0.4;
box.restitution = 0.3;
box.vertexCount = 3;
box.vertices[0].Set(0, 0);
z = Math.sqrt(2*Math.pow(20,2))/(2*m_physScale);
box.vertices[1].Set(z, 0);
box.vertices[2].Set(0,-z);
bd = new b2BodyDef();
bd.position.Set(2*((10*j) / m_physScale) + z, (160 + 20*j) / m_physScale);
head = m_world.CreateBody(bd);
head.CreateShape(box);
head.SetMassFromShapes();
Oops, it works fine when i draw triangle clockwise.