removed rube backups

This commit is contained in:
logsol 2014-05-29 14:48:03 +02:00
parent ebc3da12fa
commit efe4c76cc2
22 changed files with 1 additions and 14228 deletions

1
.gitignore vendored
View file

@ -3,3 +3,4 @@ node_modules/
.DS_Store .DS_Store
lab/audio/ lab/audio/
lab/filter/ lab/filter/
static/items/rube/*-backups

View file

@ -1,297 +0,0 @@
{
"collisionbitplanes" :
{
"names" :
[
"bitplane1",
"bitplane2",
"bitplane3",
"bitplane4",
"bitplane5",
"bitplane6",
"bitplane7",
"bitplane8",
"bitplane9",
"bitplane10",
"bitplane11",
"bitplane12",
"bitplane13",
"bitplane14",
"bitplane15",
"bitplane16",
"bitplane17",
"bitplane18",
"bitplane19",
"bitplane20",
"bitplane21",
"bitplane22",
"bitplane23",
"bitplane24",
"bitplane25",
"bitplane26",
"bitplane27",
"bitplane28",
"bitplane29",
"bitplane30",
"bitplane31",
"bitplane32"
]
},
"metaworld" :
{
"allowSleep" : true,
"autoClearForces" : true,
"continuousPhysics" : true,
"exportOptions" :
{
"compactCommonFloats" : true,
"compactZeroVecs" : true,
"saveFullPathForImages" : false,
"saveImagePathsRelativeToRUBEFile" : false,
"useHumanReadableFloats" : true,
"usePrettyPrint" : true
},
"gravity" :
{
"x" : 0,
"y" : -10
},
"metabody" :
[
{
"angle" : 0,
"angularVelocity" : 0,
"awake" : true,
"fixture" :
[
{
"density" : 1,
"friction" : 0.2,
"id" : 6,
"name" : "fixture2",
"shapes" :
[
{
"type" : "line"
}
],
"vertices" :
{
"x" : [ 21.67079925537109, -21.67079925537109 ],
"y" : [ 0.08283519744873047, 0.08283519744873047 ]
}
}
],
"id" : 5,
"linearVelocity" : 0,
"name" : "ignore",
"position" :
{
"x" : -0.1640515327453613,
"y" : -1.222461223602295
},
"type" : "static"
},
{
"angle" : 0,
"angularVelocity" : 0,
"awake" : true,
"fixture" :
[
{
"density" : 3,
"friction" : 0.2,
"id" : 8,
"name" : "fixture0",
"shapes" :
[
{
"type" : "polygon"
}
],
"vertices" :
{
"x" :
[
-0.1304440498352051,
0.1304439306259155,
0.1107617914676666,
0.02803209424018860,
-0.1304440498352051
],
"y" :
[
-0.05917119979858398,
-0.05917119979858398,
0.2331519126892090,
0.4285533428192139,
0.5828356742858887
]
}
},
{
"density" : 1,
"friction" : 0.2,
"id" : 9,
"name" : "fixture1",
"shapes" :
[
{
"type" : "polygon"
}
],
"vertices" :
{
"x" :
[
-0.04707279801368713,
0.05067454278469086,
0.05067454278469086,
-0.04707279801368713
],
"y" :
[
-0.4052271842956543,
-0.4052271842956543,
-0.01811981201171875,
-0.01811981201171875
]
}
}
],
"id" : 6,
"linearVelocity" : 0,
"massData-I" : 0.02848954126238823,
"massData-center" :
{
"x" : -0.01761996559798717,
"y" : 0.1609777510166168
},
"massData-mass" : 0.4118219017982483,
"name" : "body0",
"position" :
{
"x" : 0.001211032271385193,
"y" : 0.4150367975234985
},
"type" : "dynamic"
},
{
"angle" : 0,
"angularVelocity" : 0,
"awake" : true,
"fixture" :
[
{
"density" : 1,
"friction" : 1,
"id" : 11,
"name" : "fixture3",
"shapes" :
[
{
"type" : "polygon"
}
],
"vertices" :
{
"x" :
[
-0.1263020038604736,
0.1263022422790527,
0.1263022422790527,
-0.1263020038604736
],
"y" :
[
-0.02517747879028320,
-0.02517747879028320,
0.02517747879028320,
0.02517747879028320
]
}
}
],
"id" : 7,
"linearDamping" : 3,
"linearVelocity" : 0,
"massData-I" : 7.032450957922265e-05,
"massData-center" :
{
"x" : 1.192092895507812e-07,
"y" : 0
},
"massData-mass" : 0.01271987613290548,
"name" : "body1",
"position" :
{
"x" : -0.0002227276563644409,
"y" : 0.03157053887844086
},
"type" : "dynamic"
}
],
"metaimage" :
[
{
"aspectScale" : 1,
"body" : 6,
"center" :
{
"x" : 0.001725792884826660,
"y" : 0.08973789215087891
},
"file" : "../../img/Items/kitchen/knife.gif",
"filter" : 1,
"flip" : false,
"id" : 1,
"name" : "image0",
"opacity" : 1,
"scale" : 1
}
],
"metajoint" :
[
{
"anchorA" :
{
"x" : -0.001311389962211251,
"y" : 0.004075049888342619
},
"anchorB" :
{
"x" : -0.002745149889960885,
"y" : -0.3793910145759583
},
"bodyA" : 7,
"bodyB" : 6,
"collideConnected" : false,
"dampingRatio" : 0,
"frequency" : 0,
"id" : 2,
"name" : "joint0",
"referenceAngle" : 0,
"type" : "weld"
}
],
"positionIterations" : 3,
"stepsPerSecond" : 60.0,
"subStepping" : false,
"velocityIterations" : 8,
"warmStarting" : true
}
}

View file

@ -1,100 +0,0 @@
getBody(6).deselect();
getBody(7).deselect();
getFixture(8).setFilterCategoryBits(67108865);
getFixture(8).setFilterCategoryBits(1);
getBody(6).select();
addCustomProperty('fixture','dangerous','dangerous','string');
setCustomPropertyNames('fixture','dangerous','dangerous','dangerous');
getFixture(8).setCustomString('dangerous','very');
setCustomPropertyNames('fixture','dangerous','dangerous','dangerous');
getFixture(8).setCustomString('dangerous','very');
getFixture(8).setCustomString('dangerous','normal');
setCustomPropertyNames('fixture','dangerous','dangerous','dangerous');
setCustomPropertyNames('fixture','dangerous','dangerous','Dangerous');
setCustomPropertyNames('fixture','dangerous','dangerous','Dangerous');
setCustomPropertyNames('fixture','dangerous','dangerous','Dangerous');
getFixture(8).deselect();
addBody(8, '{"awake":true,"type":"dynamic"}');
getBody(8).addFixture(12, '{"density":1,"shapes":[{"radius":0,"type":"polygon"}],"friction":0.2,"vertices":{"x":[-0.5,0.5,0.5,-0.5],"y":[-0.5,-0.5,0.5,0.5]}}');
getBody(8).setPosition(0.186793,5.86778);
getFixture(12).select();
getFixture(12).deselect();
getBody(8).setPosition(0,0);
getFixture(12).delete();getBody(8).delete();
getBody(6).deselect();
addBody(9, '{"awake":true,"type":"dynamic"}');
getBody(9).addFixture(13, '{"density":1,"shapes":[{"radius":0.5,"type":"circle"}],"friction":0.2,"vertices":{"x":[0],"y":[0]}}');
getBody(9).setPosition(0.186793,5.86778);
getBody(9).select();
getBody(9).setPosition(-4.61105,2.66921);
getVertex(13,0).select();
getVertex(13,0).deselect();
getVertex(13,0).select();
getVertex(13,0).deselect();
getVertex(13,0).select();
getVertex(13,0).deselect();
getVertex(13,0).select();
getBody(9).addFixture(14, '{"density":1,"shapes":[{"radius":0.5,"type":"circle"}],"friction":0.2,"vertices":{"x":[4.79785],"y":[3.19857]}}');
getVertex(13,0).setPos(2.57043, 3.07817);
getVertex(13,0).deselect();
getVertex(14,0).select();
getVertex(14,0).setPos(2.92556, 1.99269);
getVertex(14,0).deselect();
getVertex(14,0).select();
getBody(9).deselect();
getBody(9).select();
getFixture(14).select();
{
fixture _rube_redoFixture = getFixture(14);
_rube_redoFixture.setVertex(0,0.338239,-0.0162923);
}
getFixture(14).deselect();
getFixture(13).select();
{
fixture _rube_redoFixture = getFixture(13);
_rube_redoFixture.setVertex(0,-0.161483,0.916989);
}
getFixture(13).deselect();
getFixture(14).select();
{
fixture _rube_redoFixture = getFixture(14);
_rube_redoFixture.setVertex(0,-0.00320554,-0.00176287);
}
getFixture(14).deselect();
getFixture(13).select();
{
fixture _rube_redoFixture = getFixture(13);
_rube_redoFixture.setVertex(0,0.00197458,1.25843);
}
getFixture(13).deselect();
getFixture(14).select();
getBody(9).deselect();
getBody(9).select();
getFixture(14).deselect();
getFixture(13).select();
getVertex(14,0).setPos(-0.00320554, -0.00176287);
getFixture(13).deselect();
getFixture(13).select();
getFixture(13).setCustomString('dangerous','very');
getFixture(13).setCustomString('dangerous','normal');
getFixture(13).deselect();
getFixture(13).select();
getFixture(13).deselect();
getFixture(14).select();
getFixture(14).deselect();
getFixture(13).select();
getFixture(13).deselect();
getFixture(14).select();
getFixture(14).deselect();
getFixture(13).select();
getFixture(13).deselect();
getFixture(14).select();
getFixture(14).deselect();
getFixture(13).select();
getVertex(14,0).deselect();
getVertex(13,0).select();
getVertex(13,0).deselect();
getVertex(14,0).select();
getImage(1).deselect();
getBody(9).deselect();
getBody(9).select();

View file

@ -1,22 +0,0 @@
//Started script log at Mon May 26 02:28:23 2014
getBody(1).select();
getBody(3).select();
getBody(2).select();
getBody(3).deselect();
getBody(1).deselect();
getBody(2).deselect();
getBody(2).select();
getBody(2).deselect();
getFixture(3).select();
getFixture(4).select();
getFixture(2).select();
getFixture(4).deselect();
getFixture(2).deselect();
getFixture(3).deselect();
getFixture(4).select();
getFixture(2).select();
getFixture(3).select();
getFixture(4).deselect();
getFixture(2).deselect();
getFixture(3).deselect();

View file

@ -1,672 +0,0 @@
//Source code dump of Box2D scene: ragdoll.rube
//
// Created by R.U.B.E 1.5.4
// Using Box2D version 2.3.0
// Sun February 16 2014 21:04:35
//
// This code is originally intended for use in the Box2D testbed,
// but you can easily use it in other applications by providing
// a b2World for use as the 'm_world' variable in the code below.
b2Vec2 g(0.000000000000000e+00f, -1.000000000000000e+01f);
m_world->SetGravity(g);
b2Body** bodies = (b2Body**)b2Alloc(11 * sizeof(b2Body*));
b2Joint** joints = (b2Joint**)b2Alloc(9 * sizeof(b2Joint*));
{
b2BodyDef bd;
bd.type = b2BodyType(2);
bd.position.Set(-1.917114257812500e-01f, 1.433728694915771e+00f);
bd.angle = 0.000000000000000e+00f;
bd.linearVelocity.Set(0.000000000000000e+00f, 0.000000000000000e+00f);
bd.angularVelocity = 0.000000000000000e+00f;
bd.linearDamping = 0.000000000000000e+00f;
bd.angularDamping = 0.000000000000000e+00f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+00f;
bodies[0] = m_world->CreateBody(&bd);
{
b2FixtureDef fd;
fd.friction = 2.000000029802322e-01f;
fd.restitution = 0.000000000000000e+00f;
fd.density = 1.000000000000000e+00f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1);
fd.filter.maskBits = uint16(65535);
fd.filter.groupIndex = int16(-1);
b2PolygonShape shape;
b2Vec2 vs[8];
vs[0].Set(6.299880146980286e-02f, -2.545155882835388e-01f);
vs[1].Set(6.299880146980286e-02f, 2.545149326324463e-01f);
vs[2].Set(-6.299890577793121e-02f, 2.545149326324463e-01f);
vs[3].Set(-6.299890577793121e-02f, -2.545155882835388e-01f);
shape.Set(vs, 4);
fd.shape = &shape;
bodies[0]->CreateFixture(&fd);
}
}
{
b2BodyDef bd;
bd.type = b2BodyType(2);
bd.position.Set(-6.397294998168945e-02f, 1.267420768737793e+00f);
bd.angle = 0.000000000000000e+00f;
bd.linearVelocity.Set(0.000000000000000e+00f, 0.000000000000000e+00f);
bd.angularVelocity = 0.000000000000000e+00f;
bd.linearDamping = 0.000000000000000e+00f;
bd.angularDamping = 0.000000000000000e+00f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+00f;
bodies[1] = m_world->CreateBody(&bd);
{
b2FixtureDef fd;
fd.friction = 2.000000029802322e-01f;
fd.restitution = 0.000000000000000e+00f;
fd.density = 1.000000000000000e+00f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1);
fd.filter.maskBits = uint16(65535);
fd.filter.groupIndex = int16(-1);
b2PolygonShape shape;
b2Vec2 vs[8];
vs[0].Set(1.883362084627151e-01f, -4.305148720741272e-01f);
vs[1].Set(1.846363544464111e-01f, 5.393795371055603e-01f);
vs[2].Set(1.850083470344543e-03f, 5.393795371055603e-01f);
vs[3].Set(-1.883361339569092e-01f, 4.209862351417542e-01f);
vs[4].Set(-1.883361339569092e-01f, -4.607573151588440e-01f);
vs[5].Set(1.600667834281921e-03f, -4.952520132064819e-01f);
shape.Set(vs, 6);
fd.shape = &shape;
bodies[1]->CreateFixture(&fd);
}
{
b2FixtureDef fd;
fd.friction = 2.000000029802322e-01f;
fd.restitution = 0.000000000000000e+00f;
fd.density = 1.000000000000000e+00f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1);
fd.filter.maskBits = uint16(65535);
fd.filter.groupIndex = int16(-1);
b2PolygonShape shape;
b2Vec2 vs[8];
vs[0].Set(1.840525716543198e-01f, 4.875739216804504e-01f);
vs[1].Set(1.840525716543198e-01f, 6.762337088584900e-01f);
vs[2].Set(-4.607129842042923e-03f, 6.762337088584900e-01f);
vs[3].Set(-4.607129842042923e-03f, 4.875739216804504e-01f);
shape.Set(vs, 4);
fd.shape = &shape;
bodies[1]->CreateFixture(&fd);
}
}
{
b2BodyDef bd;
bd.type = b2BodyType(2);
bd.position.Set(4.118728637695312e-02f, 2.199305295944214e+00f);
bd.angle = 0.000000000000000e+00f;
bd.linearVelocity.Set(0.000000000000000e+00f, 0.000000000000000e+00f);
bd.angularVelocity = 0.000000000000000e+00f;
bd.linearDamping = 0.000000000000000e+00f;
bd.angularDamping = 0.000000000000000e+00f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+00f;
bodies[2] = m_world->CreateBody(&bd);
{
b2FixtureDef fd;
fd.friction = 2.000000029802322e-01f;
fd.restitution = 0.000000000000000e+00f;
fd.density = 2.204959988594055e-01f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1);
fd.filter.maskBits = uint16(65535);
fd.filter.groupIndex = int16(-1);
b2CircleShape shape;
shape.m_radius = 3.009769916534424e-01f;
shape.m_p.Set(-8.219080045819283e-03f, 4.109379835426807e-03f);
fd.shape = &shape;
bodies[2]->CreateFixture(&fd);
}
{
b2FixtureDef fd;
fd.friction = 2.000000029802322e-01f;
fd.restitution = 0.000000000000000e+00f;
fd.density = 2.204959988594055e-01f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1);
fd.filter.maskBits = uint16(65535);
fd.filter.groupIndex = int16(-1);
b2CircleShape shape;
shape.m_radius = 2.723909914493561e-01f;
shape.m_p.Set(-3.647049888968468e-02f, -1.517499983310699e-01f);
fd.shape = &shape;
bodies[2]->CreateFixture(&fd);
}
}
{
b2BodyDef bd;
bd.type = b2BodyType(2);
bd.position.Set(1.235442161560059e-01f, 1.142371892929077e+00f);
bd.angle = 0.000000000000000e+00f;
bd.linearVelocity.Set(0.000000000000000e+00f, 0.000000000000000e+00f);
bd.angularVelocity = 0.000000000000000e+00f;
bd.linearDamping = 0.000000000000000e+00f;
bd.angularDamping = 0.000000000000000e+00f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+00f;
bodies[3] = m_world->CreateBody(&bd);
{
b2FixtureDef fd;
fd.friction = 2.000000029802322e-01f;
fd.restitution = 0.000000000000000e+00f;
fd.density = 1.000000000000000e+00f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1);
fd.filter.maskBits = uint16(65535);
fd.filter.groupIndex = int16(-1);
b2PolygonShape shape;
b2Vec2 vs[8];
vs[0].Set(6.299892067909241e-02f, -1.556134223937988e-01f);
vs[1].Set(6.299892067909241e-02f, 1.556134223937988e-01f);
vs[2].Set(-6.299898028373718e-02f, 1.556134223937988e-01f);
vs[3].Set(-6.299898028373718e-02f, -1.556134223937988e-01f);
shape.Set(vs, 4);
fd.shape = &shape;
bodies[3]->CreateFixture(&fd);
}
}
{
b2BodyDef bd;
bd.type = b2BodyType(2);
bd.position.Set(-9.663248062133789e-02f, 3.554300665855408e-01f);
bd.angle = 0.000000000000000e+00f;
bd.linearVelocity.Set(0.000000000000000e+00f, 0.000000000000000e+00f);
bd.angularVelocity = 0.000000000000000e+00f;
bd.linearDamping = 0.000000000000000e+00f;
bd.angularDamping = 0.000000000000000e+00f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+00f;
bodies[4] = m_world->CreateBody(&bd);
{
b2FixtureDef fd;
fd.friction = 2.000000029802322e-01f;
fd.restitution = 0.000000000000000e+00f;
fd.density = 1.000000000000000e+00f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1);
fd.filter.maskBits = uint16(65535);
fd.filter.groupIndex = int16(-1);
b2PolygonShape shape;
b2Vec2 vs[8];
vs[0].Set(1.550966501235962e-01f, -1.253567039966583e-01f);
vs[1].Set(1.550966501235962e-01f, -6.225190684199333e-02f);
vs[2].Set(-9.268096834421158e-02f, -6.225190684199333e-02f);
vs[3].Set(-9.268096834421158e-02f, -1.253567039966583e-01f);
shape.Set(vs, 4);
fd.shape = &shape;
bodies[4]->CreateFixture(&fd);
}
{
b2FixtureDef fd;
fd.friction = 2.000000029802322e-01f;
fd.restitution = 0.000000000000000e+00f;
fd.density = 1.000000000000000e+00f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1);
fd.filter.maskBits = uint16(65535);
fd.filter.groupIndex = int16(-1);
b2PolygonShape shape;
b2Vec2 vs[8];
vs[0].Set(9.449840337038040e-02f, -1.247676759958267e-01f);
vs[1].Set(9.449840337038040e-02f, 1.715210527181625e-01f);
vs[2].Set(-9.449829906225204e-02f, 1.715210527181625e-01f);
vs[3].Set(-9.449829906225204e-02f, -1.247676759958267e-01f);
shape.Set(vs, 4);
fd.shape = &shape;
bodies[4]->CreateFixture(&fd);
}
}
{
b2BodyDef bd;
bd.type = b2BodyType(2);
bd.position.Set(-1.917138099670410e-01f, 1.142371892929077e+00f);
bd.angle = 0.000000000000000e+00f;
bd.linearVelocity.Set(0.000000000000000e+00f, 0.000000000000000e+00f);
bd.angularVelocity = 0.000000000000000e+00f;
bd.linearDamping = 0.000000000000000e+00f;
bd.angularDamping = 0.000000000000000e+00f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+00f;
bodies[5] = m_world->CreateBody(&bd);
{
b2FixtureDef fd;
fd.friction = 2.000000029802322e-01f;
fd.restitution = 0.000000000000000e+00f;
fd.density = 1.000000000000000e+00f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1);
fd.filter.maskBits = uint16(65535);
fd.filter.groupIndex = int16(-1);
b2PolygonShape shape;
b2Vec2 vs[8];
vs[0].Set(6.299891322851181e-02f, -1.556134223937988e-01f);
vs[1].Set(6.299891322851181e-02f, 1.556134223937988e-01f);
vs[2].Set(-6.299878656864166e-02f, 1.556134223937988e-01f);
vs[3].Set(-6.299878656864166e-02f, -1.556134223937988e-01f);
shape.Set(vs, 4);
fd.shape = &shape;
bodies[5]->CreateFixture(&fd);
}
}
{
b2BodyDef bd;
bd.type = b2BodyType(2);
bd.position.Set(1.235442161560059e-01f, 1.433728694915771e+00f);
bd.angle = 0.000000000000000e+00f;
bd.linearVelocity.Set(0.000000000000000e+00f, 0.000000000000000e+00f);
bd.angularVelocity = 0.000000000000000e+00f;
bd.linearDamping = 0.000000000000000e+00f;
bd.angularDamping = 0.000000000000000e+00f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+00f;
bodies[6] = m_world->CreateBody(&bd);
{
b2FixtureDef fd;
fd.friction = 2.000000029802322e-01f;
fd.restitution = 0.000000000000000e+00f;
fd.density = 1.000000000000000e+00f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1);
fd.filter.maskBits = uint16(65535);
fd.filter.groupIndex = int16(-1);
b2PolygonShape shape;
b2Vec2 vs[8];
vs[0].Set(6.299892067909241e-02f, -2.545155882835388e-01f);
vs[1].Set(6.299892067909241e-02f, 2.545149326324463e-01f);
vs[2].Set(-6.299898028373718e-02f, 2.545149326324463e-01f);
vs[3].Set(-6.299898028373718e-02f, -2.545155882835388e-01f);
shape.Set(vs, 4);
fd.shape = &shape;
bodies[6]->CreateFixture(&fd);
}
}
{
b2BodyDef bd;
bd.type = b2BodyType(2);
bd.position.Set(2.897095680236816e-02f, 6.702435612678528e-01f);
bd.angle = 0.000000000000000e+00f;
bd.linearVelocity.Set(0.000000000000000e+00f, 0.000000000000000e+00f);
bd.angularVelocity = 0.000000000000000e+00f;
bd.linearDamping = 0.000000000000000e+00f;
bd.angularDamping = 0.000000000000000e+00f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+00f;
bodies[7] = m_world->CreateBody(&bd);
{
b2FixtureDef fd;
fd.friction = 2.000000029802322e-01f;
fd.restitution = 0.000000000000000e+00f;
fd.density = 1.000000000000000e+00f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1);
fd.filter.maskBits = uint16(65535);
fd.filter.groupIndex = int16(-1);
b2PolygonShape shape;
b2Vec2 vs[8];
vs[0].Set(9.449830651283264e-02f, -2.537839412689209e-01f);
vs[1].Set(9.449830651283264e-02f, 2.537844777107239e-01f);
vs[2].Set(-9.449817240238190e-02f, 2.537844777107239e-01f);
vs[3].Set(-9.449817240238190e-02f, -2.537839412689209e-01f);
shape.Set(vs, 4);
fd.shape = &shape;
bodies[7]->CreateFixture(&fd);
}
}
{
b2BodyDef bd;
bd.type = b2BodyType(2);
bd.position.Set(-9.663248062133789e-02f, 6.702435612678528e-01f);
bd.angle = 0.000000000000000e+00f;
bd.linearVelocity.Set(0.000000000000000e+00f, 0.000000000000000e+00f);
bd.angularVelocity = 0.000000000000000e+00f;
bd.linearDamping = 0.000000000000000e+00f;
bd.angularDamping = 0.000000000000000e+00f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+00f;
bodies[8] = m_world->CreateBody(&bd);
{
b2FixtureDef fd;
fd.friction = 2.000000029802322e-01f;
fd.restitution = 0.000000000000000e+00f;
fd.density = 1.000000000000000e+00f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1);
fd.filter.maskBits = uint16(65535);
fd.filter.groupIndex = int16(-1);
b2PolygonShape shape;
b2Vec2 vs[8];
vs[0].Set(9.449842572212219e-02f, -2.537839412689209e-01f);
vs[1].Set(9.449842572212219e-02f, 2.537844777107239e-01f);
vs[2].Set(-9.449826925992966e-02f, 2.537844777107239e-01f);
vs[3].Set(-9.449826925992966e-02f, -2.537839412689209e-01f);
shape.Set(vs, 4);
fd.shape = &shape;
bodies[8]->CreateFixture(&fd);
}
}
{
b2BodyDef bd;
bd.type = b2BodyType(2);
bd.position.Set(2.897095680236816e-02f, 3.554300665855408e-01f);
bd.angle = 0.000000000000000e+00f;
bd.linearVelocity.Set(0.000000000000000e+00f, 0.000000000000000e+00f);
bd.angularVelocity = 0.000000000000000e+00f;
bd.linearDamping = 0.000000000000000e+00f;
bd.angularDamping = 0.000000000000000e+00f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+00f;
bodies[9] = m_world->CreateBody(&bd);
{
b2FixtureDef fd;
fd.friction = 2.000000029802322e-01f;
fd.restitution = 0.000000000000000e+00f;
fd.density = 1.000000000000000e+00f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1);
fd.filter.maskBits = uint16(65535);
fd.filter.groupIndex = int16(-1);
b2PolygonShape shape;
b2Vec2 vs[8];
vs[0].Set(1.550965905189514e-01f, -1.253567039966583e-01f);
vs[1].Set(1.550965905189514e-01f, -6.225190684199333e-02f);
vs[2].Set(-9.268099069595337e-02f, -6.225190684199333e-02f);
vs[3].Set(-9.268099069595337e-02f, -1.253567039966583e-01f);
shape.Set(vs, 4);
fd.shape = &shape;
bodies[9]->CreateFixture(&fd);
}
{
b2FixtureDef fd;
fd.friction = 2.000000029802322e-01f;
fd.restitution = 0.000000000000000e+00f;
fd.density = 1.000000000000000e+00f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1);
fd.filter.maskBits = uint16(65535);
fd.filter.groupIndex = int16(-1);
b2PolygonShape shape;
b2Vec2 vs[8];
vs[0].Set(9.449830651283264e-02f, -1.247680261731148e-01f);
vs[1].Set(9.449830651283264e-02f, 1.713046580553055e-01f);
vs[2].Set(-9.449817240238190e-02f, 1.713046580553055e-01f);
vs[3].Set(-9.449817240238190e-02f, -1.247680261731148e-01f);
shape.Set(vs, 4);
fd.shape = &shape;
bodies[9]->CreateFixture(&fd);
}
}
{
b2BodyDef bd;
bd.type = b2BodyType(0);
bd.position.Set(3.118395805358887e-03f, -6.553649902343750e-03f);
bd.angle = 0.000000000000000e+00f;
bd.linearVelocity.Set(0.000000000000000e+00f, 0.000000000000000e+00f);
bd.angularVelocity = 0.000000000000000e+00f;
bd.linearDamping = 0.000000000000000e+00f;
bd.angularDamping = 0.000000000000000e+00f;
bd.allowSleep = bool(4);
bd.awake = bool(2);
bd.fixedRotation = bool(0);
bd.bullet = bool(0);
bd.active = bool(32);
bd.gravityScale = 1.000000000000000e+00f;
bodies[10] = m_world->CreateBody(&bd);
{
b2FixtureDef fd;
fd.friction = 2.000000029802322e-01f;
fd.restitution = 0.000000000000000e+00f;
fd.density = 1.000000000000000e+00f;
fd.isSensor = bool(0);
fd.filter.categoryBits = uint16(1);
fd.filter.maskBits = uint16(65535);
fd.filter.groupIndex = int16(0);
b2ChainShape shape;
b2Vec2 vs[2];
vs[0].Set(-4.179394245147705e+00f, 0.000000000000000e+00f);
vs[1].Set(4.179394245147705e+00f, 0.000000000000000e+00f);
shape.CreateChain(vs, 2);
shape.m_prevVertex.Set(-1.998532295227051e+00f, -2.391039296991059e-23f);
shape.m_nextVertex.Set(4.949933242915726e-38f, 3.363116314379561e-44f);
shape.m_hasPrevVertex = bool(0);
shape.m_hasNextVertex = bool(0);
fd.shape = &shape;
bodies[10]->CreateFixture(&fd);
}
}
{
b2RevoluteJointDef jd;
jd.bodyA = bodies[1];
jd.bodyB = bodies[8];
jd.collideConnected = bool(0);
jd.localAnchorA.Set(-9.128235280513763e-02f, -3.880688548088074e-01f);
jd.localAnchorB.Set(-6.031601130962372e-02f, 2.092975974082947e-01f);
jd.referenceAngle = 0.000000000000000e+00f;
jd.enableLimit = bool(1);
jd.lowerAngle = -6.981316804885864e-01f;
jd.upperAngle = 1.919862151145935e+00f;
jd.enableMotor = bool(0);
jd.motorSpeed = 0.000000000000000e+00f;
jd.maxMotorTorque = 1.000000000000000e+00f;
joints[0] = m_world->CreateJoint(&jd);
}
{
b2RevoluteJointDef jd;
jd.bodyA = bodies[1];
jd.bodyB = bodies[7];
jd.collideConnected = bool(0);
jd.localAnchorA.Set(1.498610228300095e-01f, -3.952181935310364e-01f);
jd.localAnchorB.Set(5.541206151247025e-02f, 2.019590735435486e-01f);
jd.referenceAngle = 0.000000000000000e+00f;
jd.enableLimit = bool(1);
jd.lowerAngle = -6.981316804885864e-01f;
jd.upperAngle = 1.919862151145935e+00f;
jd.enableMotor = bool(0);
jd.motorSpeed = 0.000000000000000e+00f;
jd.maxMotorTorque = 1.000000000000000e+00f;
joints[1] = m_world->CreateJoint(&jd);
}
{
b2RevoluteJointDef jd;
jd.bodyA = bodies[1];
jd.bodyB = bodies[6];
jd.collideConnected = bool(0);
jd.localAnchorA.Set(1.874177008867264e-01f, 3.626269102096558e-01f);
jd.localAnchorB.Set(-1.000612974166870e-04f, 1.963189840316772e-01f);
jd.referenceAngle = 0.000000000000000e+00f;
jd.enableLimit = bool(0);
jd.lowerAngle = -2.268928050994873e+00f;
jd.upperAngle = 3.141592741012573e+00f;
jd.enableMotor = bool(0);
jd.motorSpeed = 0.000000000000000e+00f;
jd.maxMotorTorque = 1.000000000000000e+00f;
joints[2] = m_world->CreateJoint(&jd);
}
{
b2RevoluteJointDef jd;
jd.bodyA = bodies[1];
jd.bodyB = bodies[0];
jd.collideConnected = bool(0);
jd.localAnchorA.Set(-1.277616322040558e-01f, 3.649693727493286e-01f);
jd.localAnchorB.Set(-2.339482307434082e-05f, 1.986622810363770e-01f);
jd.referenceAngle = 0.000000000000000e+00f;
jd.enableLimit = bool(0);
jd.lowerAngle = -2.268928050994873e+00f;
jd.upperAngle = 3.141592741012573e+00f;
jd.enableMotor = bool(0);
jd.motorSpeed = 0.000000000000000e+00f;
jd.maxMotorTorque = 1.000000000000000e+00f;
joints[3] = m_world->CreateJoint(&jd);
}
{
b2RevoluteJointDef jd;
jd.bodyA = bodies[8];
jd.bodyB = bodies[4];
jd.collideConnected = bool(0);
jd.localAnchorA.Set(-1.047469675540924e-03f, -1.993342936038971e-01f);
jd.localAnchorB.Set(-1.047216355800629e-03f, 1.156357824802399e-01f);
jd.referenceAngle = 0.000000000000000e+00f;
jd.enableLimit = bool(1);
jd.lowerAngle = -2.268928050994873e+00f;
jd.upperAngle = 0.000000000000000e+00f;
jd.enableMotor = bool(0);
jd.motorSpeed = 0.000000000000000e+00f;
jd.maxMotorTorque = 1.000000000000000e+00f;
joints[4] = m_world->CreateJoint(&jd);
}
{
b2RevoluteJointDef jd;
jd.bodyA = bodies[0];
jd.bodyB = bodies[5];
jd.collideConnected = bool(0);
jd.localAnchorA.Set(1.148343086242676e-03f, -1.961904764175415e-01f);
jd.localAnchorB.Set(1.148715615272522e-03f, 9.516614675521851e-02f);
jd.referenceAngle = 0.000000000000000e+00f;
jd.enableLimit = bool(1);
jd.lowerAngle = 0.000000000000000e+00f;
jd.upperAngle = 1.919862151145935e+00f;
jd.enableMotor = bool(0);
jd.motorSpeed = 0.000000000000000e+00f;
jd.maxMotorTorque = 1.000000000000000e+00f;
joints[5] = m_world->CreateJoint(&jd);
}
{
b2RevoluteJointDef jd;
jd.bodyA = bodies[3];
jd.bodyB = bodies[6];
jd.collideConnected = bool(0);
jd.localAnchorA.Set(4.750192165374756e-04f, 9.541386365890503e-02f);
jd.localAnchorB.Set(4.747509956359863e-04f, -1.959429979324341e-01f);
jd.referenceAngle = 0.000000000000000e+00f;
jd.enableLimit = bool(1);
jd.lowerAngle = 0.000000000000000e+00f;
jd.upperAngle = 1.919862151145935e+00f;
jd.enableMotor = bool(0);
jd.motorSpeed = 0.000000000000000e+00f;
jd.maxMotorTorque = 1.000000000000000e+00f;
joints[6] = m_world->CreateJoint(&jd);
}
{
b2RevoluteJointDef jd;
jd.bodyA = bodies[7];
jd.bodyB = bodies[9];
jd.collideConnected = bool(0);
jd.localAnchorA.Set(2.657793462276459e-03f, -2.022806107997894e-01f);
jd.localAnchorB.Set(2.657927572727203e-03f, 1.125320196151733e-01f);
jd.referenceAngle = 0.000000000000000e+00f;
jd.enableLimit = bool(1);
jd.lowerAngle = -2.268928050994873e+00f;
jd.upperAngle = 0.000000000000000e+00f;
jd.enableMotor = bool(0);
jd.motorSpeed = 0.000000000000000e+00f;
jd.maxMotorTorque = 1.000000000000000e+00f;
joints[7] = m_world->CreateJoint(&jd);
}
{
b2RevoluteJointDef jd;
jd.bodyA = bodies[1];
jd.bodyB = bodies[2];
jd.collideConnected = bool(0);
jd.localAnchorA.Set(8.169807493686676e-02f, 5.554057359695435e-01f);
jd.localAnchorB.Set(-2.346399985253811e-02f, -3.764809966087341e-01f);
jd.referenceAngle = 0.000000000000000e+00f;
jd.enableLimit = bool(1);
jd.lowerAngle = -1.221730470657349e+00f;
jd.upperAngle = 6.981316804885864e-01f;
jd.enableMotor = bool(0);
jd.motorSpeed = 0.000000000000000e+00f;
jd.maxMotorTorque = 1.000000000000000e+00f;
joints[8] = m_world->CreateJoint(&jd);
}
b2Free(joints);
b2Free(bodies);
joints = NULL;
bodies = NULL;

View file

@ -1,2 +0,0 @@
//Restarted script log at Sat Feb 15 20:29:28 2014
getJoint(2).deselect();

View file

@ -1,2 +0,0 @@
//Restarted script log at Sun Feb 16 21:04:27 2014
getBody(16).deselect();

View file

@ -1,48 +0,0 @@
//Started script log at Mon Feb 17 11:10:57 2014
getBody(18).select();
getBody(19).select();
getBody(17).select();
getBody(20).select();
getBody(21).select();
getBody(22).select();
getBody(12).select();
getBody(15).select();
getBody(16).select();
getBody(14).select();
getBody(13).select();
getBody(18).deselect();
getBody(19).deselect();
getBody(17).deselect();
getBody(20).deselect();
getBody(21).deselect();
getBody(22).deselect();
getBody(12).deselect();
getBody(15).deselect();
getBody(16).deselect();
getBody(14).deselect();
getBody(13).deselect();
getBody(20).select();
getBody(20).deselect();
getBody(20).select();
getBody(20).deselect();
getBody(12).select();
getBody(12).deselect();
getBody(12).select();
getBody(12).deselect();
getBody(20).select();
getBody(20).deselect();
getBody(22).select();
getBody(12).select();
getBody(22).deselect();
getBody(12).deselect();
getBody(12).select();
getBody(12).deselect();
getBody(12).select();
getBody(12).deselect();
getBody(12).select();
getBody(12).deselect();
getBody(12).select();
getBody(12).deselect();
getBody(12).select();
getBody(12).deselect();

View file

@ -1,2 +0,0 @@
//Started script log at Sun May 25 19:19:58 2014

View file

@ -1,32 +0,0 @@
//Restarted script log at Mon May 26 02:42:35 2014
getJoint(12).setCollideConnected(0);
getJoint(15).setCollideConnected(0);
getJoint(16).setCollideConnected(0);
getJoint(17).setCollideConnected(0);
getJoint(18).setCollideConnected(0);
getJoint(13).setCollideConnected(0);
getJoint(11).setCollideConnected(0);
getJoint(10).setCollideConnected(0);
getJoint(14).setCollideConnected(0);
getJoint(12).deselect();
getJoint(15).deselect();
getJoint(16).deselect();
getJoint(17).deselect();
getJoint(18).deselect();
getJoint(13).deselect();
getJoint(11).deselect();
getJoint(10).deselect();
getJoint(14).deselect();
getBody(21).deselect();
getBody(12).deselect();
getBody(13).deselect();
getBody(20).deselect();
getBody(15).deselect();
getBody(17).deselect();
getBody(14).deselect();
getBody(19).deselect();
getBody(16).deselect();
getBody(18).deselect();
getBody(22).deselect();
getBody(21).select();
getBody(21).deselect();

View file

@ -1 +0,0 @@
//Restarted script log at Mon May 26 04:12:18 2014