Hi there,
I have made an attempt of porting the second tutorial on this website:
http://www.emanueleferonato.com/2009/04/06/two-ways-to-make-box2d-cars/
In to C++, unfortunately when I run it the forces do not seem to behave correctly as the carts get pulled apart and doesn't drive correctly. I spent a little bit of time messing around with some of the forces (reducing gravity, increasing the density of the axles, etc.) and managed to get something that felt a little better, but I'm not clear why I am not able to get my simulation to behave as the tutorial example does.
I'm almost certainly there is a problem with what I'm doing, but after looking at it for a while, I can't spot the problem, so I thought I'd post here in case anyone can hazard a guess at what I'm doing wrong. I have uploaded a video of my simulation here:
http://www.youtube.com/watch?v=nVISbPA5yHA
And what follows is Box2D's dump of the objects in my world, which consists of a couple of terrain objects and the cart. I am unaware why these is quite as much in the dump as there is - I expected there to only be a small number of bodies.
Any help that can be offered would be received gratefully.
Steve
I have made an attempt of porting the second tutorial on this website:
http://www.emanueleferonato.com/2009/04/06/two-ways-to-make-box2d-cars/
In to C++, unfortunately when I run it the forces do not seem to behave correctly as the carts get pulled apart and doesn't drive correctly. I spent a little bit of time messing around with some of the forces (reducing gravity, increasing the density of the axles, etc.) and managed to get something that felt a little better, but I'm not clear why I am not able to get my simulation to behave as the tutorial example does.
I'm almost certainly there is a problem with what I'm doing, but after looking at it for a while, I can't spot the problem, so I thought I'd post here in case anyone can hazard a guess at what I'm doing wrong. I have uploaded a video of my simulation here:
http://www.youtube.com/watch?v=nVISbPA5yHA
And what follows is Box2D's dump of the objects in my world, which consists of a couple of terrain objects and the cart. I am unaware why these is quite as much in the dump as there is - I expected there to only be a small number of bodies.
Any help that can be offered would be received gratefully.
Steve
Code:
b2Vec2 g(0.000000000000000e+000f, -1.000000000000000e+001f);
m_world->SetGravity(g);
b2Body** bodies = (b2Body**)b2Alloc(59 * sizeof(b2Body*));
b2Joint** joints = (b2Joint**)b2Alloc(4 * sizeof(b2Joint*));
{
b2BodyDef bd;
bd.type = b2BodyType(2);
bd.position.Set(4.783333301544190e+000f, 2.253910303115845e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(0);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[0] = m_world->CreateBody(&bd);
{
b2FixtureDef fd;
fd.friction = 5.000000000000000e+000f;
fd.restitution = 2.000000029802322e-001f;
fd.density = 1.000000014901161e-001f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1024);
fd.filter.maskBits = uint16(50);
fd.filter.groupIndex = int16(0);
b2CircleShape shape;
shape.m_radius = 6.999999880790710e-001f;
shape.m_p.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
fd.shape = &shape;
bodies[0]->CreateFixture(&fd);
}
}
{
b2BodyDef bd;
bd.type = b2BodyType(2);
bd.position.Set(1.883333325386047e+000f, 2.253910303115845e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(0);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[1] = m_world->CreateBody(&bd);
{
b2FixtureDef fd;
fd.friction = 5.000000000000000e+000f;
fd.restitution = 2.000000029802322e-001f;
fd.density = 1.000000014901161e-001f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1024);
fd.filter.maskBits = uint16(50);
fd.filter.groupIndex = int16(0);
b2CircleShape shape;
shape.m_radius = 6.999999880790710e-001f;
shape.m_p.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
fd.shape = &shape;
bodies[1]->CreateFixture(&fd);
}
}
{
b2BodyDef bd;
bd.type = b2BodyType(2);
bd.position.Set(3.333333253860474e+000f, 3.333333253860474e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[2] = m_world->CreateBody(&bd);
{
b2FixtureDef fd;
fd.friction = 5.000000000000000e-001f;
fd.restitution = 2.000000029802322e-001f;
fd.density = 1.000000000000000e+000f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1024);
fd.filter.maskBits = uint16(50);
fd.filter.groupIndex = int16(0);
b2PolygonShape shape;
b2Vec2 vs[8];
vs[0].Set(1.013397455215454e+000f, -5.232051014900208e-001f);
vs[1].Set(1.413397431373596e+000f, -1.216025471687317e+000f);
vs[2].Set(1.586602449417114e+000f, -1.116025447845459e+000f);
vs[3].Set(1.186602473258972e+000f, -4.232051372528076e-001f);
shape.Set(vs, 4);
fd.shape = &shape;
bodies[2]->CreateFixture(&fd);
}
}
{
b2BodyDef bd;
bd.type = b2BodyType(2);
bd.position.Set(3.333333253860474e+000f, 3.333333253860474e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[3] = m_world->CreateBody(&bd);
{
b2FixtureDef fd;
fd.friction = 5.000000000000000e-001f;
fd.restitution = 2.000000029802322e-001f;
fd.density = 1.000000000000000e+000f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1024);
fd.filter.maskBits = uint16(50);
fd.filter.groupIndex = int16(0);
b2PolygonShape shape;
b2Vec2 vs[8];
vs[0].Set(-1.413397431373596e+000f, -1.216025471687317e+000f);
vs[1].Set(-1.013397455215454e+000f, -5.232051014900208e-001f);
vs[2].Set(-1.186602473258972e+000f, -4.232051372528076e-001f);
vs[3].Set(-1.586602449417114e+000f, -1.116025447845459e+000f);
shape.Set(vs, 4);
fd.shape = &shape;
bodies[3]->CreateFixture(&fd);
}
}
{
b2BodyDef bd;
bd.type = b2BodyType(2);
bd.position.Set(3.333333253860474e+000f, 3.333333253860474e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[4] = m_world->CreateBody(&bd);
{
b2FixtureDef fd;
fd.friction = 5.000000000000000e-001f;
fd.restitution = 2.000000029802322e-001f;
fd.density = 2.000000000000000e+000f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1024);
fd.filter.maskBits = uint16(50);
fd.filter.groupIndex = int16(0);
b2PolygonShape shape;
b2Vec2 vs[8];
vs[0].Set(6.700961589813232e-001f, -2.858982607722282e-002f);
vs[1].Set(1.070096135139465e+000f, -7.214102149009705e-001f);
vs[2].Set(1.329903841018677e+000f, -5.714101791381836e-001f);
vs[3].Set(9.299038052558899e-001f, 1.214101687073708e-001f);
shape.Set(vs, 4);
fd.shape = &shape;
bodies[4]->CreateFixture(&fd);
}
{
b2FixtureDef fd;
fd.friction = 5.000000000000000e-001f;
fd.restitution = 2.000000029802322e-001f;
fd.density = 2.000000000000000e+000f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1024);
fd.filter.maskBits = uint16(50);
fd.filter.groupIndex = int16(0);
b2PolygonShape shape;
b2Vec2 vs[8];
vs[0].Set(-1.070096135139465e+000f, -7.214102149009705e-001f);
vs[1].Set(-6.700961589813232e-001f, -2.858982607722282e-002f);
vs[2].Set(-9.299038052558899e-001f, 1.214101687073708e-001f);
vs[3].Set(-1.329903841018677e+000f, -5.714101791381836e-001f);
shape.Set(vs, 4);
fd.shape = &shape;
bodies[4]->CreateFixture(&fd);
}
{
b2FixtureDef fd;
fd.friction = 5.000000000000000e-001f;
fd.restitution = 2.000000029802322e-001f;
fd.density = 2.000000000000000e+000f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1024);
fd.filter.maskBits = uint16(50);
fd.filter.groupIndex = int16(0);
b2PolygonShape shape;
b2Vec2 vs[8];
vs[0].Set(-1.500000000000000e+000f, -3.000000119209290e-001f);
vs[1].Set(1.500000000000000e+000f, -3.000000119209290e-001f);
vs[2].Set(1.500000000000000e+000f, 3.000000119209290e-001f);
vs[3].Set(-1.500000000000000e+000f, 3.000000119209290e-001f);
shape.Set(vs, 4);
fd.shape = &shape;
bodies[4]->CreateFixture(&fd);
}
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(6.333333492279053e+000f, 2.133333444595337e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[5] = m_world->CreateBody(&bd);
{
b2FixtureDef fd;
fd.friction = 2.000000029802322e-001f;
fd.restitution = 0.000000000000000e+000f;
fd.density = 0.000000000000000e+000f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(2);
fd.filter.maskBits = uint16(1272);
fd.filter.groupIndex = int16(0);
b2ChainShape shape;
b2Vec2 vs[8];
vs[0].Set(0.000000000000000e+000f, 0.000000000000000e+000f);
vs[1].Set(8.566666603088379e+000f, 1.466666698455811e+000f);
vs[2].Set(1.050000000000000e+001f, 1.433333277702332e+000f);
vs[3].Set(1.389999961853027e+001f, 2.400000095367432e+000f);
vs[4].Set(1.693333244323731e+001f, 3.133333444595337e+000f);
vs[5].Set(1.833333396911621e+001f, 3.633333444595337e+000f);
vs[6].Set(1.920000076293945e+001f, 3.866666555404663e+000f);
vs[7].Set(1.923333358764648e+001f, 1.000000014901161e-001f);
shape.CreateChain(vs, 8);
shape.m_prevVertex.Set(-1.073741760000000e+008f, -1.073741760000000e+008f);
shape.m_nextVertex.Set(-1.073741760000000e+008f, -1.073741760000000e+008f);
shape.m_hasPrevVertex = bool(0);
shape.m_hasNextVertex = bool(0);
fd.shape = &shape;
bodies[5]->CreateFixture(&fd);
}
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(0.000000000000000e+000f, 2.133333444595337e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[6] = m_world->CreateBody(&bd);
{
b2FixtureDef fd;
fd.friction = 2.000000029802322e-001f;
fd.restitution = 0.000000000000000e+000f;
fd.density = 0.000000000000000e+000f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(2);
fd.filter.maskBits = uint16(1272);
fd.filter.groupIndex = int16(0);
b2ChainShape shape;
b2Vec2 vs[3];
vs[0].Set(0.000000000000000e+000f, 0.000000000000000e+000f);
vs[1].Set(2.770000076293945e+001f, 6.666667014360428e-002f);
vs[2].Set(2.770000076293945e+001f, -2.066666603088379e+000f);
shape.CreateChain(vs, 3);
shape.m_prevVertex.Set(-1.073741760000000e+008f, -1.073741760000000e+008f);
shape.m_nextVertex.Set(-1.073741760000000e+008f, -1.073741760000000e+008f);
shape.m_hasPrevVertex = bool(0);
shape.m_hasNextVertex = bool(0);
fd.shape = &shape;
bodies[6]->CreateFixture(&fd);
}
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.720000076293945e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[7] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.613333320617676e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[8] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.506666755676270e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[9] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.400000000000000e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[10] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.293333244323731e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[11] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.186666679382324e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[12] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.079999923706055e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[13] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.973333358764648e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[14] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.866666603088379e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[15] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.760000038146973e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[16] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.653333282470703e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[17] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.546666622161865e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[18] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.439999961853027e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[19] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.333333301544190e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[20] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.226666641235352e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[21] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.119999980926514e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[22] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.013333320617676e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[23] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(9.066666603088379e+000f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[24] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(8.000000000000000e+000f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[25] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(6.933333396911621e+000f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[26] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(5.866666793823242e+000f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[27] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(4.800000190734863e+000f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[28] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(3.733333349227905e+000f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[29] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.666666746139526e+000f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[30] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.600000023841858e+000f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[31] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(5.333333611488342e-001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[32] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.720000076293945e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[33] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.613333320617676e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[34] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.506666755676270e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[35] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.400000000000000e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[36] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.293333244323731e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[37] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.186666679382324e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[38] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.079999923706055e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[39] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.973333358764648e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[40] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.866666603088379e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[41] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.760000038146973e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[42] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.653333282470703e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[43] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.546666622161865e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[44] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.439999961853027e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[45] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.333333301544190e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[46] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.226666641235352e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[47] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.119999980926514e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[48] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.013333320617676e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[49] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(9.066666603088379e+000f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[50] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(8.000000000000000e+000f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[51] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(6.933333396911621e+000f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[52] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(5.866666793823242e+000f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[53] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(4.800000190734863e+000f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[54] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(3.733333349227905e+000f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[55] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.666666746139526e+000f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[56] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.600000023841858e+000f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[57] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(5.333333611488342e-001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[58] = m_world->CreateBody(&bd);
}
{
b2RevoluteJointDef jd;
jd.bodyA = bodies[2];
jd.bodyB = bodies[0];
jd.collideConnected = bool(0);
jd.localAnchorA.Set(1.450000047683716e+000f, -1.079422950744629e+000f);
jd.localAnchorB.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
jd.referenceAngle = 0.000000000000000e+000f;
jd.enableLimit = bool(0);
jd.lowerAngle = 0.000000000000000e+000f;
jd.upperAngle = 0.000000000000000e+000f;
jd.enableMotor = bool(1);
jd.motorSpeed = 0.000000000000000e+000f;
jd.maxMotorTorque = 0.000000000000000e+000f;
joints[0] = m_world->CreateJoint(&jd);
}
{
b2RevoluteJointDef jd;
jd.bodyA = bodies[3];
jd.bodyB = bodies[1];
jd.collideConnected = bool(0);
jd.localAnchorA.Set(-1.449999928474426e+000f, -1.079422950744629e+000f);
jd.localAnchorB.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
jd.referenceAngle = 0.000000000000000e+000f;
jd.enableLimit = bool(0);
jd.lowerAngle = 0.000000000000000e+000f;
jd.upperAngle = 0.000000000000000e+000f;
jd.enableMotor = bool(1);
jd.motorSpeed = 0.000000000000000e+000f;
jd.maxMotorTorque = 0.000000000000000e+000f;
joints[1] = m_world->CreateJoint(&jd);
}
{
b2PrismaticJointDef jd;
jd.bodyA = bodies[4];
jd.bodyB = bodies[2];
jd.collideConnected = bool(0);
jd.localAnchorA.Set(1.299999952316284e+000f, -8.196153640747070e-001f);
jd.localAnchorB.Set(1.299999952316284e+000f, -8.196153640747070e-001f);
jd.localAxisA.Set(-4.999999701976776e-001f, 8.660254478454590e-001f);
jd.referenceAngle = 0.000000000000000e+000f;
jd.enableLimit = bool(1);
jd.lowerTranslation = -3.000000119209290e-001f;
jd.upperTranslation = 5.000000000000000e-001f;
jd.enableMotor = bool(1);
jd.motorSpeed = 0.000000000000000e+000f;
jd.maxMotorForce = 0.000000000000000e+000f;
joints[2] = m_world->CreateJoint(&jd);
}
{
b2PrismaticJointDef jd;
jd.bodyA = bodies[4];
jd.bodyB = bodies[3];
jd.collideConnected = bool(0);
jd.localAnchorA.Set(-1.299999952316284e+000f, -8.196153640747070e-001f);
jd.localAnchorB.Set(-1.299999952316284e+000f, -8.196153640747070e-001f);
jd.localAxisA.Set(4.999999701976776e-001f, 8.660254478454590e-001f);
jd.referenceAngle = 0.000000000000000e+000f;
jd.enableLimit = bool(1);
jd.lowerTranslation = -3.000000119209290e-001f;
jd.upperTranslation = 5.000000000000000e-001f;
jd.enableMotor = bool(1);
jd.motorSpeed = 0.000000000000000e+000f;
jd.maxMotorForce = 0.000000000000000e+000f;
joints[3] = m_world->CreateJoint(&jd);
}
b2Free(joints);
b2Free(bodies);
joints = NULL;
bodies = NULL;
m_world->SetGravity(g);
b2Body** bodies = (b2Body**)b2Alloc(59 * sizeof(b2Body*));
b2Joint** joints = (b2Joint**)b2Alloc(4 * sizeof(b2Joint*));
{
b2BodyDef bd;
bd.type = b2BodyType(2);
bd.position.Set(4.783333301544190e+000f, 2.253910303115845e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(0);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[0] = m_world->CreateBody(&bd);
{
b2FixtureDef fd;
fd.friction = 5.000000000000000e+000f;
fd.restitution = 2.000000029802322e-001f;
fd.density = 1.000000014901161e-001f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1024);
fd.filter.maskBits = uint16(50);
fd.filter.groupIndex = int16(0);
b2CircleShape shape;
shape.m_radius = 6.999999880790710e-001f;
shape.m_p.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
fd.shape = &shape;
bodies[0]->CreateFixture(&fd);
}
}
{
b2BodyDef bd;
bd.type = b2BodyType(2);
bd.position.Set(1.883333325386047e+000f, 2.253910303115845e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(0);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[1] = m_world->CreateBody(&bd);
{
b2FixtureDef fd;
fd.friction = 5.000000000000000e+000f;
fd.restitution = 2.000000029802322e-001f;
fd.density = 1.000000014901161e-001f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1024);
fd.filter.maskBits = uint16(50);
fd.filter.groupIndex = int16(0);
b2CircleShape shape;
shape.m_radius = 6.999999880790710e-001f;
shape.m_p.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
fd.shape = &shape;
bodies[1]->CreateFixture(&fd);
}
}
{
b2BodyDef bd;
bd.type = b2BodyType(2);
bd.position.Set(3.333333253860474e+000f, 3.333333253860474e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[2] = m_world->CreateBody(&bd);
{
b2FixtureDef fd;
fd.friction = 5.000000000000000e-001f;
fd.restitution = 2.000000029802322e-001f;
fd.density = 1.000000000000000e+000f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1024);
fd.filter.maskBits = uint16(50);
fd.filter.groupIndex = int16(0);
b2PolygonShape shape;
b2Vec2 vs[8];
vs[0].Set(1.013397455215454e+000f, -5.232051014900208e-001f);
vs[1].Set(1.413397431373596e+000f, -1.216025471687317e+000f);
vs[2].Set(1.586602449417114e+000f, -1.116025447845459e+000f);
vs[3].Set(1.186602473258972e+000f, -4.232051372528076e-001f);
shape.Set(vs, 4);
fd.shape = &shape;
bodies[2]->CreateFixture(&fd);
}
}
{
b2BodyDef bd;
bd.type = b2BodyType(2);
bd.position.Set(3.333333253860474e+000f, 3.333333253860474e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[3] = m_world->CreateBody(&bd);
{
b2FixtureDef fd;
fd.friction = 5.000000000000000e-001f;
fd.restitution = 2.000000029802322e-001f;
fd.density = 1.000000000000000e+000f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1024);
fd.filter.maskBits = uint16(50);
fd.filter.groupIndex = int16(0);
b2PolygonShape shape;
b2Vec2 vs[8];
vs[0].Set(-1.413397431373596e+000f, -1.216025471687317e+000f);
vs[1].Set(-1.013397455215454e+000f, -5.232051014900208e-001f);
vs[2].Set(-1.186602473258972e+000f, -4.232051372528076e-001f);
vs[3].Set(-1.586602449417114e+000f, -1.116025447845459e+000f);
shape.Set(vs, 4);
fd.shape = &shape;
bodies[3]->CreateFixture(&fd);
}
}
{
b2BodyDef bd;
bd.type = b2BodyType(2);
bd.position.Set(3.333333253860474e+000f, 3.333333253860474e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[4] = m_world->CreateBody(&bd);
{
b2FixtureDef fd;
fd.friction = 5.000000000000000e-001f;
fd.restitution = 2.000000029802322e-001f;
fd.density = 2.000000000000000e+000f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1024);
fd.filter.maskBits = uint16(50);
fd.filter.groupIndex = int16(0);
b2PolygonShape shape;
b2Vec2 vs[8];
vs[0].Set(6.700961589813232e-001f, -2.858982607722282e-002f);
vs[1].Set(1.070096135139465e+000f, -7.214102149009705e-001f);
vs[2].Set(1.329903841018677e+000f, -5.714101791381836e-001f);
vs[3].Set(9.299038052558899e-001f, 1.214101687073708e-001f);
shape.Set(vs, 4);
fd.shape = &shape;
bodies[4]->CreateFixture(&fd);
}
{
b2FixtureDef fd;
fd.friction = 5.000000000000000e-001f;
fd.restitution = 2.000000029802322e-001f;
fd.density = 2.000000000000000e+000f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1024);
fd.filter.maskBits = uint16(50);
fd.filter.groupIndex = int16(0);
b2PolygonShape shape;
b2Vec2 vs[8];
vs[0].Set(-1.070096135139465e+000f, -7.214102149009705e-001f);
vs[1].Set(-6.700961589813232e-001f, -2.858982607722282e-002f);
vs[2].Set(-9.299038052558899e-001f, 1.214101687073708e-001f);
vs[3].Set(-1.329903841018677e+000f, -5.714101791381836e-001f);
shape.Set(vs, 4);
fd.shape = &shape;
bodies[4]->CreateFixture(&fd);
}
{
b2FixtureDef fd;
fd.friction = 5.000000000000000e-001f;
fd.restitution = 2.000000029802322e-001f;
fd.density = 2.000000000000000e+000f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1024);
fd.filter.maskBits = uint16(50);
fd.filter.groupIndex = int16(0);
b2PolygonShape shape;
b2Vec2 vs[8];
vs[0].Set(-1.500000000000000e+000f, -3.000000119209290e-001f);
vs[1].Set(1.500000000000000e+000f, -3.000000119209290e-001f);
vs[2].Set(1.500000000000000e+000f, 3.000000119209290e-001f);
vs[3].Set(-1.500000000000000e+000f, 3.000000119209290e-001f);
shape.Set(vs, 4);
fd.shape = &shape;
bodies[4]->CreateFixture(&fd);
}
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(6.333333492279053e+000f, 2.133333444595337e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[5] = m_world->CreateBody(&bd);
{
b2FixtureDef fd;
fd.friction = 2.000000029802322e-001f;
fd.restitution = 0.000000000000000e+000f;
fd.density = 0.000000000000000e+000f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(2);
fd.filter.maskBits = uint16(1272);
fd.filter.groupIndex = int16(0);
b2ChainShape shape;
b2Vec2 vs[8];
vs[0].Set(0.000000000000000e+000f, 0.000000000000000e+000f);
vs[1].Set(8.566666603088379e+000f, 1.466666698455811e+000f);
vs[2].Set(1.050000000000000e+001f, 1.433333277702332e+000f);
vs[3].Set(1.389999961853027e+001f, 2.400000095367432e+000f);
vs[4].Set(1.693333244323731e+001f, 3.133333444595337e+000f);
vs[5].Set(1.833333396911621e+001f, 3.633333444595337e+000f);
vs[6].Set(1.920000076293945e+001f, 3.866666555404663e+000f);
vs[7].Set(1.923333358764648e+001f, 1.000000014901161e-001f);
shape.CreateChain(vs, 8);
shape.m_prevVertex.Set(-1.073741760000000e+008f, -1.073741760000000e+008f);
shape.m_nextVertex.Set(-1.073741760000000e+008f, -1.073741760000000e+008f);
shape.m_hasPrevVertex = bool(0);
shape.m_hasNextVertex = bool(0);
fd.shape = &shape;
bodies[5]->CreateFixture(&fd);
}
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(0.000000000000000e+000f, 2.133333444595337e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[6] = m_world->CreateBody(&bd);
{
b2FixtureDef fd;
fd.friction = 2.000000029802322e-001f;
fd.restitution = 0.000000000000000e+000f;
fd.density = 0.000000000000000e+000f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(2);
fd.filter.maskBits = uint16(1272);
fd.filter.groupIndex = int16(0);
b2ChainShape shape;
b2Vec2 vs[3];
vs[0].Set(0.000000000000000e+000f, 0.000000000000000e+000f);
vs[1].Set(2.770000076293945e+001f, 6.666667014360428e-002f);
vs[2].Set(2.770000076293945e+001f, -2.066666603088379e+000f);
shape.CreateChain(vs, 3);
shape.m_prevVertex.Set(-1.073741760000000e+008f, -1.073741760000000e+008f);
shape.m_nextVertex.Set(-1.073741760000000e+008f, -1.073741760000000e+008f);
shape.m_hasPrevVertex = bool(0);
shape.m_hasNextVertex = bool(0);
fd.shape = &shape;
bodies[6]->CreateFixture(&fd);
}
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.720000076293945e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[7] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.613333320617676e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[8] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.506666755676270e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[9] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.400000000000000e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[10] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.293333244323731e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[11] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.186666679382324e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[12] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.079999923706055e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[13] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.973333358764648e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[14] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.866666603088379e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[15] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.760000038146973e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[16] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.653333282470703e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[17] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.546666622161865e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[18] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.439999961853027e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[19] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.333333301544190e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[20] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.226666641235352e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[21] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.119999980926514e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[22] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.013333320617676e+001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[23] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(9.066666603088379e+000f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[24] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(8.000000000000000e+000f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[25] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(6.933333396911621e+000f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[26] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(5.866666793823242e+000f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[27] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(4.800000190734863e+000f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[28] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(3.733333349227905e+000f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[29] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.666666746139526e+000f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[30] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.600000023841858e+000f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[31] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(5.333333611488342e-001f, 5.333333611488342e-001f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[32] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.720000076293945e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[33] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.613333320617676e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[34] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.506666755676270e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[35] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.400000000000000e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[36] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.293333244323731e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[37] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.186666679382324e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[38] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.079999923706055e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[39] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.973333358764648e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[40] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.866666603088379e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[41] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.760000038146973e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[42] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.653333282470703e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[43] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.546666622161865e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[44] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.439999961853027e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[45] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.333333301544190e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[46] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.226666641235352e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[47] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.119999980926514e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[48] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.013333320617676e+001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[49] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(9.066666603088379e+000f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[50] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(8.000000000000000e+000f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[51] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(6.933333396911621e+000f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[52] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(5.866666793823242e+000f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[53] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(4.800000190734863e+000f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[54] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(3.733333349227905e+000f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[55] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(2.666666746139526e+000f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[56] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(1.600000023841858e+000f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[57] = m_world->CreateBody(&bd);
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(5.333333611488342e-001f, 1.600000023841858e+000f);
bd.angle = 0.000000000000000e+000f;
bd.linearVelocity.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
bd.angularVelocity = 0.000000000000000e+000f;
bd.linearDamping = 1.000000000000000e+000f;
bd.angularDamping = 1.000000000000000e+000f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+000f;
bodies[58] = m_world->CreateBody(&bd);
}
{
b2RevoluteJointDef jd;
jd.bodyA = bodies[2];
jd.bodyB = bodies[0];
jd.collideConnected = bool(0);
jd.localAnchorA.Set(1.450000047683716e+000f, -1.079422950744629e+000f);
jd.localAnchorB.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
jd.referenceAngle = 0.000000000000000e+000f;
jd.enableLimit = bool(0);
jd.lowerAngle = 0.000000000000000e+000f;
jd.upperAngle = 0.000000000000000e+000f;
jd.enableMotor = bool(1);
jd.motorSpeed = 0.000000000000000e+000f;
jd.maxMotorTorque = 0.000000000000000e+000f;
joints[0] = m_world->CreateJoint(&jd);
}
{
b2RevoluteJointDef jd;
jd.bodyA = bodies[3];
jd.bodyB = bodies[1];
jd.collideConnected = bool(0);
jd.localAnchorA.Set(-1.449999928474426e+000f, -1.079422950744629e+000f);
jd.localAnchorB.Set(0.000000000000000e+000f, 0.000000000000000e+000f);
jd.referenceAngle = 0.000000000000000e+000f;
jd.enableLimit = bool(0);
jd.lowerAngle = 0.000000000000000e+000f;
jd.upperAngle = 0.000000000000000e+000f;
jd.enableMotor = bool(1);
jd.motorSpeed = 0.000000000000000e+000f;
jd.maxMotorTorque = 0.000000000000000e+000f;
joints[1] = m_world->CreateJoint(&jd);
}
{
b2PrismaticJointDef jd;
jd.bodyA = bodies[4];
jd.bodyB = bodies[2];
jd.collideConnected = bool(0);
jd.localAnchorA.Set(1.299999952316284e+000f, -8.196153640747070e-001f);
jd.localAnchorB.Set(1.299999952316284e+000f, -8.196153640747070e-001f);
jd.localAxisA.Set(-4.999999701976776e-001f, 8.660254478454590e-001f);
jd.referenceAngle = 0.000000000000000e+000f;
jd.enableLimit = bool(1);
jd.lowerTranslation = -3.000000119209290e-001f;
jd.upperTranslation = 5.000000000000000e-001f;
jd.enableMotor = bool(1);
jd.motorSpeed = 0.000000000000000e+000f;
jd.maxMotorForce = 0.000000000000000e+000f;
joints[2] = m_world->CreateJoint(&jd);
}
{
b2PrismaticJointDef jd;
jd.bodyA = bodies[4];
jd.bodyB = bodies[3];
jd.collideConnected = bool(0);
jd.localAnchorA.Set(-1.299999952316284e+000f, -8.196153640747070e-001f);
jd.localAnchorB.Set(-1.299999952316284e+000f, -8.196153640747070e-001f);
jd.localAxisA.Set(4.999999701976776e-001f, 8.660254478454590e-001f);
jd.referenceAngle = 0.000000000000000e+000f;
jd.enableLimit = bool(1);
jd.lowerTranslation = -3.000000119209290e-001f;
jd.upperTranslation = 5.000000000000000e-001f;
jd.enableMotor = bool(1);
jd.motorSpeed = 0.000000000000000e+000f;
jd.maxMotorForce = 0.000000000000000e+000f;
joints[3] = m_world->CreateJoint(&jd);
}
b2Free(joints);
b2Free(bodies);
joints = NULL;
bodies = NULL;