I'm having a lot of trouble getting weld joints working with the latest build.
I have two simple bodies, one's a circle and the other is a box.
Code:
var weldDef:b2WeldJointDef;
var weldJoint:b2WeldJoint;
weldDef = new b2WeldJointDef();
weldDef.collideConnected = false;
anchor = new b2Vec2(x/ratio,y/ratio);
weldDef.Initialize(body1,body2, body1.GetPosition());
weldJoint = world.CreateJoint(weldDef) as b2WeldJoint;
The weld joint appears in the debug view but it doesn't actually weld the two bodies together - they just fall apart. Works just fine if I replace the weldjoint with a distancejoint (but that's not what I want).