You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
150 lines
4.3 KiB
150 lines
4.3 KiB
{
|
|
"banana": {
|
|
"type": "fromPhysicsEditor",
|
|
"label": "banana",
|
|
"isStatic": false,
|
|
"density": 0.1,
|
|
"restitution": 0.1,
|
|
"friction": 0.1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.2,
|
|
"collisionFilter": {
|
|
"group": 0,
|
|
"category": 1,
|
|
"mask": 255
|
|
},
|
|
"fixtures": [
|
|
{
|
|
"label": "banana-fixture",
|
|
"isSensor": false,
|
|
"vertices": [
|
|
[ { "x":107, "y":2 }, { "x":95.26110076904297, "y":0.6820602416992188 }, { "x":89, "y":6 }, { "x":94.2380142211914, "y":23.872116088867188 }, { "x":104, "y":22 } ],
|
|
[ { "x":4, "y":94 }, { "x":1, "y":105 }, { "x":23.985790252685547, "y":119.92895221710205 }, { "x":50, "y":128 }, { "x":27, "y":94 } ],
|
|
[ { "x":27, "y":94 }, { "x":50, "y":128 }, { "x":79, "y":123 }, { "x":102, "y":110 }, { "x":67, "y":83 } ],
|
|
[ { "x":67, "y":83 }, { "x":102, "y":110 }, { "x":118.56483459472656, "y":88.44049835205078 }, { "x":126, "y":66 }, { "x":123, "y":40 }, { "x":91, "y":48 } ],
|
|
[ { "x":123, "y":40 }, { "x":104, "y":22 }, { "x":94.2380142211914, "y":23.872116088867188 }, { "x":91, "y":48 } ]
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"cherries": {
|
|
"type": "fromPhysicsEditor",
|
|
"label": "cherries",
|
|
"isStatic": false,
|
|
"density": 0.10000000149011612,
|
|
"restitution": 0.1,
|
|
"friction": 0.10000000149011612,
|
|
"frictionAir": 0.009999999776482582,
|
|
"frictionStatic": 0.5,
|
|
"collisionFilter": {
|
|
"group": 0,
|
|
"category": 1,
|
|
"mask": 255
|
|
},
|
|
"fixtures": [
|
|
{
|
|
"label": "cherry-left",
|
|
"isSensor": false,
|
|
"circle": {
|
|
"x": 38.67625899280576,
|
|
"y": 100.92661870503598,
|
|
"radius": 25.16224146143038
|
|
}
|
|
},
|
|
{
|
|
"label": "cherry-right",
|
|
"isSensor": false,
|
|
"circle": {
|
|
"x": 97.79568345323742,
|
|
"y": 102.95251798561152,
|
|
"radius": 25.16224146143038
|
|
}
|
|
},
|
|
{
|
|
"label": "cherry-stem",
|
|
"isSensor": false,
|
|
"vertices": [
|
|
[ { "x":7, "y":8 }, { "x":32, "y":35 }, { "x":61, "y":36 }, { "x":85.0877685546875, "y":32.59856414794922 }, { "x":77, "y":19 }, { "x":58, "y":5 } ],
|
|
[ { "x":85, "y":13 }, { "x":77, "y":19 }, { "x":85.0877685546875, "y":32.59856414794922 }, { "x":93, "y":22 } ],
|
|
[ { "x":85.0877685546875, "y":32.59856414794922 }, { "x":61, "y":36 }, { "x":43, "y":58 }, { "x":41, "y":75 }, { "x":84.16690826416016, "y":53.778419494628906 } ],
|
|
[ { "x":90, "y":78 }, { "x":84.16690826416016, "y":53.778419494628906 }, { "x":41, "y":75 } ]
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"crate": {
|
|
"type": "fromPhysicsEditor",
|
|
"label": "create",
|
|
"isStatic": false,
|
|
"density": 0.7999999999999999,
|
|
"restitution": 0.1,
|
|
"friction": 0.10000000149011612,
|
|
"frictionAir": 0.009999999776482582,
|
|
"frictionStatic": 0.5,
|
|
"collisionFilter": {
|
|
"group": 0,
|
|
"category": 1,
|
|
"mask": 255
|
|
},
|
|
"fixtures": [
|
|
{
|
|
"label": "crate-fixture",
|
|
"isSensor": false,
|
|
"vertices": [
|
|
[ { "x":5, "y":9 }, { "x":5.115452766418457, "y":36.0355224609375 }, { "x":8.980462074279785, "y":36.376556396484375 }, { "x":120.61101531982422, "y":38.309059143066406 }, { "x":124, "y":36 }, { "x":124, "y":9 } ],
|
|
[ { "x":8, "y":128 }, { "x":123, "y":128 }, { "x":123, "y":105 }, { "x":120.15630340576172, "y":104.46891593933105 }, { "x":10.79928970336914, "y":103.67317962646484 }, { "x":7.73001766204834, "y":104.92362403869629 } ],
|
|
[ { "x":120.15630340576172, "y":104.46891593933105 }, { "x":120.61101531982422, "y":38.309059143066406 }, { "x":8.980462074279785, "y":36.376556396484375 }, { "x":10.79928970336914, "y":103.67317962646484 } ]
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"orange": {
|
|
"type": "fromPhysicsEditor",
|
|
"label": "orange",
|
|
"isStatic": false,
|
|
"density": 0.1,
|
|
"restitution": 0.1,
|
|
"friction": 0.10000000149011612,
|
|
"frictionAir": 0.009999999776482582,
|
|
"frictionStatic": 0.5,
|
|
"collisionFilter": {
|
|
"group": 0,
|
|
"category": 1,
|
|
"mask": 255
|
|
},
|
|
"fixtures": [
|
|
{
|
|
"label": "orange-fixture",
|
|
"isSensor": false,
|
|
"circle": {
|
|
"x": 64.46043165467627,
|
|
"y": 67.0388489208633,
|
|
"radius": 61.12368896735685
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"ground": {
|
|
"type": "fromPhysicsEditor",
|
|
"label": "ground",
|
|
"isStatic": true,
|
|
"density": 0,
|
|
"restitution": 0,
|
|
"friction": 0.10000000149011612,
|
|
"frictionAir": 0.009999999776482582,
|
|
"frictionStatic": 0.5,
|
|
"collisionFilter": {
|
|
"group": 0,
|
|
"category": 1,
|
|
"mask": 255
|
|
},
|
|
"fixtures": [
|
|
{
|
|
"label": "",
|
|
"isSensor": false,
|
|
"vertices": [
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|