ya2 · news · projects · code · about

new item
[pmachines.git] / assets / scenes / box.json
index 34bb6261d56e233d763dbbc211ab3f80fb0763a0..d3d82f6758f963a1d32ce5cc959a6ac04b804a33 100644 (file)
-{"version": "220914",
- "name": "Box",
- "instructions": "Goal: the left box must hit the right box\\n\\nkeep \\5mouse_l\\5 pressed to drag an item\\n\\nkeep \\5mouse_r\\5 pressed to rotate an item",
- "test_items": {
-     "pixel_space": [
-        {"id": "drag_start_0",
-         "position": [65, 60]}
-     ],
-     "world_space": [
-        {"id": "drag_stop_0",
-         "position": [0.42, -3.29]},
-        {"id": "drag_stop_1",
-         "position": [0.42, -2.18]},
-        {"id": "drag_stop_2",
-         "position": [0.35, -1.06]}
-     ]},
- "start_items": [
-     {"class": "Box",
-      "count": 3}],
- "fixed_items": [
-     {"class": "Shelf",
-      "position": [0.46, 0, -3.95]},
-     {"class": "Shelf",
-      "position": [4.43, 0, -3.95]},
-     {"class": "Shelf",
-      "position": [-1.29, 0, 0.26],
-      "roll": 28.45},
-     {"class": "Shelf",
-      "position": [2.15, 0, -1.49],
-      "roll": 28.45}],
- "scene_items": [
-     {"class": "Box",
-      "position": [-1.55, 0, 1.23],
+{
+  "instructions": "Goal: the left box must hit the right box\n\nkeep \\5mouse_l\\5 pressed to drag an item\n\nkeep \\5mouse_r\\5 pressed to rotate an item",
+  "items": [
+    {
+      "class": "Shelf",
+      "mass": 0,
+      "position": [
+        0.46,
+        0,
+        -3.95
+      ]
+    },
+    {
+      "class": "Shelf",
+      "mass": 0,
+      "position": [
+        4.43,
+        0,
+        -3.95
+      ]
+    },
+    {
+      "class": "Shelf",
+      "mass": 0,
+      "position": [
+        -1.29,
+        0,
+        0.26
+      ],
+      "roll": 28.45
+    },
+    {
+      "class": "Shelf",
+      "mass": 0,
+      "position": [
+        2.15,
+        0,
+        -1.49
+      ],
+      "roll": 28.45
+    },
+    {
+      "class": "Box",
       "friction": 0.4,
-      "id": "left_box"},
-     {"class": "Box",
-      "position": [4.38, 0, -3.35],
+      "id": "left_box",
+      "mass": 1,
+      "position": [
+        -1.5499999523162842,
+        0.0,
+        1.2300000190734863
+      ],
+      "roll": 0.0
+    },
+    {
+      "class": "Box",
+      "mass": 1,
+      "position": [
+        4.380000114440918,
+        0.0,
+        -3.3499999046325684
+      ],
+      "roll": 0.0,
       "strategy": "HitStrategy",
-      "strategy_args": ["left_box"]}]
-}
+      "strategy_args": [
+        "left_box"
+      ]
+    }
+  ],
+  "name": "Box",
+  "start_items": [
+    {
+      "class": "Box",
+      "count": 3
+    }
+  ],
+  "test_items": {
+    "pixel_space": [
+      {
+        "id": "drag_start_0",
+        "position": [
+          65,
+          60
+        ]
+      }
+    ],
+    "world_space": [
+      {
+        "id": "drag_stop_0",
+        "position": [
+          0.42,
+          -3.29
+        ]
+      },
+      {
+        "id": "drag_stop_1",
+        "position": [
+          0.42,
+          -2.18
+        ]
+      },
+      {
+        "id": "drag_stop_2",
+        "position": [
+          0.35,
+          -1.06
+        ]
+      }
+    ]
+  },
+  "version": "8062bd34519a"
+}
\ No newline at end of file