0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-12-11 11:57:42 -05:00
liabru-matter-js/test/node/refs/airFriction/airFriction-0.json

1550 lines
19 KiB
JSON
Raw Normal View History

2015-08-16 19:50:47 -04:00
[
{
"id": 10,
"type": "composite",
"parent": null,
"isModified": true,
"bodies": {
"#": 1
},
"constraints": {
"#": 156
},
"composites": {
"#": 157
},
"label": "World",
"gravity": {
"#": 158
},
"bounds": {
"#": 159
}
},
[
{
"#": 2
},
{
"#": 24
},
{
"#": 46
},
{
"#": 68
},
{
"#": 90
},
{
"#": 112
},
{
"#": 134
}
],
{
"id": 0,
"type": "body",
"label": "Rectangle Body",
"parts": {
"#": 3
},
"angle": 0,
"vertices": {
"#": 4
},
"position": {
"#": 9
},
"force": {
"#": 10
},
"torque": 0,
"positionImpulse": {
"#": 11
},
"constraintImpulse": {
"#": 12
},
"totalContacts": 0,
"speed": 0,
"angularSpeed": 0,
"velocity": {
"#": 13
},
"angularVelocity": 0,
"isStatic": true,
"isSleeping": false,
"motion": 0,
"sleepThreshold": 60,
"density": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"restitution": 0,
"friction": 1,
"frictionStatic": 0.5,
"frictionAir": 0.01,
"collisionFilter": {
"#": 14
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 15
},
"bounds": {
"#": 17
},
"positionPrev": {
"#": 20
},
"anglePrev": 0,
"axes": {
"#": 21
},
"area": 40930.25,
"mass": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"inverseMass": 0,
"inertia": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"inverseInertia": 0,
"parent": {
"#": 2
},
"sleepCounter": 0
},
[
{
"#": 2
}
],
[
{
"#": 5
},
{
"#": 6
},
{
"#": 7
},
{
"#": 8
}
],
{
"x": -5.25,
"y": -30.25,
"index": 0,
"body": {
"#": 2
},
"isInternal": false
},
{
"x": 805.25,
"y": -30.25,
"index": 1,
"body": {
"#": 2
},
"isInternal": false
},
{
"x": 805.25,
"y": 20.25,
"index": 2,
"body": {
"#": 2
},
"isInternal": false
},
{
"x": -5.25,
"y": 20.25,
"index": 3,
"body": {
"#": 2
},
"isInternal": false
},
{
"x": 400,
"y": -5
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0,
"angle": 0
},
{
"x": 0,
"y": 0
},
{
"category": 1,
"mask": 4294967295,
"group": 0
},
{
"visible": true,
"sprite": {
"#": 16
},
"lineWidth": 1.5,
"fillStyle": "#eeeeee",
"strokeStyle": "#bbbbbb"
},
{
"xScale": 1,
2015-12-23 08:19:25 -05:00
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
2015-08-16 19:50:47 -04:00
},
{
"min": {
"#": 18
},
"max": {
"#": 19
}
},
{
"x": -5.25,
"y": -30.25
},
{
"x": 805.25,
"y": 20.25
},
{
"x": 400,
"y": -5
},
[
{
"#": 22
},
{
"#": 23
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"id": 1,
"type": "body",
"label": "Rectangle Body",
"parts": {
"#": 25
},
"angle": 0,
"vertices": {
"#": 26
},
"position": {
"#": 31
},
"force": {
"#": 32
},
"torque": 0,
"positionImpulse": {
"#": 33
},
"constraintImpulse": {
"#": 34
},
"totalContacts": 0,
"speed": 0,
"angularSpeed": 0,
"velocity": {
"#": 35
},
"angularVelocity": 0,
"isStatic": true,
"isSleeping": false,
"motion": 0,
"sleepThreshold": 60,
"density": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"restitution": 0,
"friction": 1,
"frictionStatic": 0.5,
"frictionAir": 0.01,
"collisionFilter": {
"#": 36
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 37
},
"bounds": {
"#": 39
},
"positionPrev": {
"#": 42
},
"anglePrev": 0,
"axes": {
"#": 43
},
"area": 40930.25,
"mass": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"inverseMass": 0,
"inertia": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"inverseInertia": 0,
"parent": {
"#": 24
},
"sleepCounter": 0
},
[
{
"#": 24
}
],
[
{
"#": 27
},
{
"#": 28
},
{
"#": 29
},
{
"#": 30
}
],
{
"x": -5.25,
"y": 579.75,
"index": 0,
"body": {
"#": 24
},
"isInternal": false
},
{
"x": 805.25,
"y": 579.75,
"index": 1,
"body": {
"#": 24
},
"isInternal": false
},
{
"x": 805.25,
"y": 630.25,
"index": 2,
"body": {
"#": 24
},
"isInternal": false
},
{
"x": -5.25,
"y": 630.25,
"index": 3,
"body": {
"#": 24
},
"isInternal": false
},
{
"x": 400,
"y": 605
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0,
"angle": 0
},
{
"x": 0,
"y": 0
},
{
"category": 1,
"mask": 4294967295,
"group": 0
},
{
"visible": true,
"sprite": {
"#": 38
},
"lineWidth": 1.5,
"fillStyle": "#eeeeee",
"strokeStyle": "#bbbbbb"
},
{
"xScale": 1,
2015-12-23 08:19:25 -05:00
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
2015-08-16 19:50:47 -04:00
},
{
"min": {
"#": 40
},
"max": {
"#": 41
}
},
{
"x": -5.25,
"y": 579.75
},
{
"x": 805.25,
"y": 630.25
},
{
"x": 400,
"y": 605
},
[
{
"#": 44
},
{
"#": 45
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"id": 2,
"type": "body",
"label": "Rectangle Body",
"parts": {
"#": 47
},
"angle": 0,
"vertices": {
"#": 48
},
"position": {
"#": 53
},
"force": {
"#": 54
},
"torque": 0,
"positionImpulse": {
"#": 55
},
"constraintImpulse": {
"#": 56
},
"totalContacts": 0,
"speed": 0,
"angularSpeed": 0,
"velocity": {
"#": 57
},
"angularVelocity": 0,
"isStatic": true,
"isSleeping": false,
"motion": 0,
"sleepThreshold": 60,
"density": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"restitution": 0,
"friction": 1,
"frictionStatic": 0.5,
"frictionAir": 0.01,
"collisionFilter": {
"#": 58
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 59
},
"bounds": {
"#": 61
},
"positionPrev": {
"#": 64
},
"anglePrev": 0,
"axes": {
"#": 65
},
"area": 30830.25,
"mass": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"inverseMass": 0,
"inertia": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"inverseInertia": 0,
"parent": {
"#": 46
},
"sleepCounter": 0
},
[
{
"#": 46
}
],
[
{
"#": 49
},
{
"#": 50
},
{
"#": 51
},
{
"#": 52
}
],
{
"x": 779.75,
"y": -5.25,
"index": 0,
"body": {
"#": 46
},
"isInternal": false
},
{
"x": 830.25,
"y": -5.25,
"index": 1,
"body": {
"#": 46
},
"isInternal": false
},
{
"x": 830.25,
"y": 605.25,
"index": 2,
"body": {
"#": 46
},
"isInternal": false
},
{
"x": 779.75,
"y": 605.25,
"index": 3,
"body": {
"#": 46
},
"isInternal": false
},
{
"x": 805,
"y": 300
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0,
"angle": 0
},
{
"x": 0,
"y": 0
},
{
"category": 1,
"mask": 4294967295,
"group": 0
},
{
"visible": true,
"sprite": {
"#": 60
},
"lineWidth": 1.5,
"fillStyle": "#eeeeee",
"strokeStyle": "#bbbbbb"
},
{
"xScale": 1,
2015-12-23 08:19:25 -05:00
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
2015-08-16 19:50:47 -04:00
},
{
"min": {
"#": 62
},
"max": {
"#": 63
}
},
{
"x": 779.75,
"y": -5.25
},
{
"x": 830.25,
"y": 605.25
},
{
"x": 805,
"y": 300
},
[
{
"#": 66
},
{
"#": 67
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"id": 3,
"type": "body",
"label": "Rectangle Body",
"parts": {
"#": 69
},
"angle": 0,
"vertices": {
"#": 70
},
"position": {
"#": 75
},
"force": {
"#": 76
},
"torque": 0,
"positionImpulse": {
"#": 77
},
"constraintImpulse": {
"#": 78
},
"totalContacts": 0,
"speed": 0,
"angularSpeed": 0,
"velocity": {
"#": 79
},
"angularVelocity": 0,
"isStatic": true,
"isSleeping": false,
"motion": 0,
"sleepThreshold": 60,
"density": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"restitution": 0,
"friction": 1,
"frictionStatic": 0.5,
"frictionAir": 0.01,
"collisionFilter": {
"#": 80
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 81
},
"bounds": {
"#": 83
},
"positionPrev": {
"#": 86
},
"anglePrev": 0,
"axes": {
"#": 87
},
"area": 30830.25,
"mass": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"inverseMass": 0,
"inertia": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"inverseInertia": 0,
"parent": {
"#": 68
},
"sleepCounter": 0
},
[
{
"#": 68
}
],
[
{
"#": 71
},
{
"#": 72
},
{
"#": 73
},
{
"#": 74
}
],
{
"x": -30.25,
"y": -5.25,
"index": 0,
"body": {
"#": 68
},
"isInternal": false
},
{
"x": 20.25,
"y": -5.25,
"index": 1,
"body": {
"#": 68
},
"isInternal": false
},
{
"x": 20.25,
"y": 605.25,
"index": 2,
"body": {
"#": 68
},
"isInternal": false
},
{
"x": -30.25,
"y": 605.25,
"index": 3,
"body": {
"#": 68
},
"isInternal": false
},
{
"x": -5,
"y": 300
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0,
"angle": 0
},
{
"x": 0,
"y": 0
},
{
"category": 1,
"mask": 4294967295,
"group": 0
},
{
"visible": true,
"sprite": {
"#": 82
},
"lineWidth": 1.5,
"fillStyle": "#eeeeee",
"strokeStyle": "#bbbbbb"
},
{
"xScale": 1,
2015-12-23 08:19:25 -05:00
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
2015-08-16 19:50:47 -04:00
},
{
"min": {
"#": 84
},
"max": {
"#": 85
}
},
{
"x": -30.25,
"y": -5.25
},
{
"x": 20.25,
"y": 605.25
},
{
"x": -5,
"y": 300
},
[
{
"#": 88
},
{
"#": 89
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"id": 4,
"type": "body",
"label": "Rectangle Body",
"parts": {
"#": 91
},
"angle": 0,
"vertices": {
"#": 92
},
"position": {
"#": 97
},
"force": {
"#": 98
},
"torque": 0,
"positionImpulse": {
"#": 99
},
"constraintImpulse": {
"#": 100
},
"totalContacts": 0,
"speed": 0,
"angularSpeed": 0,
"velocity": {
"#": 101
},
"angularVelocity": 0,
"isStatic": false,
"isSleeping": false,
"motion": 0,
"sleepThreshold": 60,
"density": 0.001,
"restitution": 0,
"friction": 0.1,
"frictionStatic": 0.5,
"frictionAir": 0.001,
"collisionFilter": {
"#": 102
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 103
},
"bounds": {
"#": 105
},
"positionPrev": {
"#": 108
},
"anglePrev": 0,
"axes": {
"#": 109
},
"area": 3600,
"mass": 3.6,
"inverseMass": 0.27778,
"inertia": 8640,
"inverseInertia": 0.00012,
"parent": {
"#": 90
},
"sleepCounter": 0
},
[
{
"#": 90
}
],
[
{
"#": 93
},
{
"#": 94
},
{
"#": 95
},
{
"#": 96
}
],
{
"x": 170,
"y": 70,
"index": 0,
"body": {
"#": 90
},
"isInternal": false
},
{
"x": 230,
"y": 70,
"index": 1,
"body": {
"#": 90
},
"isInternal": false
},
{
"x": 230,
"y": 130,
"index": 2,
"body": {
"#": 90
},
"isInternal": false
},
{
"x": 170,
"y": 130,
"index": 3,
"body": {
"#": 90
},
"isInternal": false
},
{
"x": 200,
"y": 100
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0,
"angle": 0
},
{
"x": 0,
"y": 0
},
{
"category": 1,
"mask": 4294967295,
"group": 0
},
{
"visible": true,
"sprite": {
"#": 104
},
"lineWidth": 1.5,
"fillStyle": "#4ECDC4",
"strokeStyle": "#1b9a91"
},
{
"xScale": 1,
2015-12-23 08:19:25 -05:00
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
2015-08-16 19:50:47 -04:00
},
{
"min": {
"#": 106
},
"max": {
"#": 107
}
},
{
"x": 170,
"y": 70
},
{
"x": 230,
"y": 130
},
{
"x": 200,
"y": 100
},
[
{
"#": 110
},
{
"#": 111
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"id": 5,
"type": "body",
"label": "Rectangle Body",
"parts": {
"#": 113
},
"angle": 0,
"vertices": {
"#": 114
},
"position": {
"#": 119
},
"force": {
"#": 120
},
"torque": 0,
"positionImpulse": {
"#": 121
},
"constraintImpulse": {
"#": 122
},
"totalContacts": 0,
"speed": 0,
"angularSpeed": 0,
"velocity": {
"#": 123
},
"angularVelocity": 0,
"isStatic": false,
"isSleeping": false,
"motion": 0,
"sleepThreshold": 60,
"density": 0.001,
"restitution": 0,
"friction": 0.1,
"frictionStatic": 0.5,
"frictionAir": 0.05,
"collisionFilter": {
"#": 124
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 125
},
"bounds": {
"#": 127
},
"positionPrev": {
"#": 130
},
"anglePrev": 0,
"axes": {
"#": 131
},
"area": 3600,
"mass": 3.6,
"inverseMass": 0.27778,
"inertia": 8640,
"inverseInertia": 0.00012,
"parent": {
"#": 112
},
"sleepCounter": 0
},
[
{
"#": 112
}
],
[
{
"#": 115
},
{
"#": 116
},
{
"#": 117
},
{
"#": 118
}
],
{
"x": 370,
"y": 70,
"index": 0,
"body": {
"#": 112
},
"isInternal": false
},
{
"x": 430,
"y": 70,
"index": 1,
"body": {
"#": 112
},
"isInternal": false
},
{
"x": 430,
"y": 130,
"index": 2,
"body": {
"#": 112
},
"isInternal": false
},
{
"x": 370,
"y": 130,
"index": 3,
"body": {
"#": 112
},
"isInternal": false
},
{
"x": 400,
"y": 100
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0,
"angle": 0
},
{
"x": 0,
"y": 0
},
{
"category": 1,
"mask": 4294967295,
"group": 0
},
{
"visible": true,
"sprite": {
"#": 126
},
"lineWidth": 1.5,
"fillStyle": "#FF6B6B",
"strokeStyle": "#cc3838"
},
{
"xScale": 1,
2015-12-23 08:19:25 -05:00
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
2015-08-16 19:50:47 -04:00
},
{
"min": {
"#": 128
},
"max": {
"#": 129
}
},
{
"x": 370,
"y": 70
},
{
"x": 430,
"y": 130
},
{
"x": 400,
"y": 100
},
[
{
"#": 132
},
{
"#": 133
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"id": 6,
"type": "body",
"label": "Rectangle Body",
"parts": {
"#": 135
},
"angle": 0,
"vertices": {
"#": 136
},
"position": {
"#": 141
},
"force": {
"#": 142
},
"torque": 0,
"positionImpulse": {
"#": 143
},
"constraintImpulse": {
"#": 144
},
"totalContacts": 0,
"speed": 0,
"angularSpeed": 0,
"velocity": {
"#": 145
},
"angularVelocity": 0,
"isStatic": false,
"isSleeping": false,
"motion": 0,
"sleepThreshold": 60,
"density": 0.001,
"restitution": 0,
"friction": 0.1,
"frictionStatic": 0.5,
"frictionAir": 0.1,
"collisionFilter": {
"#": 146
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 147
},
"bounds": {
"#": 149
},
"positionPrev": {
"#": 152
},
"anglePrev": 0,
"axes": {
"#": 153
},
"area": 3600,
"mass": 3.6,
"inverseMass": 0.27778,
"inertia": 8640,
"inverseInertia": 0.00012,
"parent": {
"#": 134
},
"sleepCounter": 0
},
[
{
"#": 134
}
],
[
{
"#": 137
},
{
"#": 138
},
{
"#": 139
},
{
"#": 140
}
],
{
"x": 570,
"y": 70,
"index": 0,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 630,
"y": 70,
"index": 1,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 630,
"y": 130,
"index": 2,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 570,
"y": 130,
"index": 3,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 600,
"y": 100
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0,
"angle": 0
},
{
"x": 0,
"y": 0
},
{
"category": 1,
"mask": 4294967295,
"group": 0
},
{
"visible": true,
"sprite": {
"#": 148
},
"lineWidth": 1.5,
"fillStyle": "#C7F464",
"strokeStyle": "#94c131"
},
{
"xScale": 1,
2015-12-23 08:19:25 -05:00
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
2015-08-16 19:50:47 -04:00
},
{
"min": {
"#": 150
},
"max": {
"#": 151
}
},
{
"x": 570,
"y": 70
},
{
"x": 630,
"y": 130
},
{
"x": 600,
"y": 100
},
[
{
"#": 154
},
{
"#": 155
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
[],
[],
{
"x": 0,
2015-12-29 17:51:19 -05:00
"y": 1,
"scale": 0.001
2015-08-16 19:50:47 -04:00
},
{
"min": {
"#": 160
},
"max": {
"#": 161
}
},
{
"x": {
"#.": "Number",
"#v": [
"-Infinity"
]
},
"y": {
"#.": "Number",
"#v": [
"-Infinity"
]
}
},
{
"x": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"y": {
"#.": "Number",
"#v": [
"Infinity"
]
}
}
]