Add Items slide off dispensers
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
[gd_scene format=3 uid="uid://mpapt5mkbuao"]
|
||||||
|
|
||||||
|
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_4m60m"]
|
||||||
|
friction = 0.0
|
||||||
|
bounce = 1.0
|
||||||
|
|
||||||
|
[sub_resource type="SphereShape3D" id="SphereShape3D_nn8tr"]
|
||||||
|
radius = 0.2752769
|
||||||
|
|
||||||
|
[node name="SlideOffDome" type="StaticBody3D" unique_id=1427609426]
|
||||||
|
collision_layer = 7
|
||||||
|
physics_material_override = SubResource("PhysicsMaterial_4m60m")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D2" type="CollisionShape3D" parent="." unique_id=513124640]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.99165964, 0)
|
||||||
|
shape = SubResource("SphereShape3D_nn8tr")
|
||||||
@@ -3,11 +3,13 @@
|
|||||||
[ext_resource type="Script" uid="uid://0y6wnjcsum6" path="res://Stations/item_dispenser.gd" id="1_4m60m"]
|
[ext_resource type="Script" uid="uid://0y6wnjcsum6" path="res://Stations/item_dispenser.gd" id="1_4m60m"]
|
||||||
[ext_resource type="PackedScene" uid="uid://e4i6o5oriecx" path="res://Items/PickupCube.tscn" id="2_nn8tr"]
|
[ext_resource type="PackedScene" uid="uid://e4i6o5oriecx" path="res://Items/PickupCube.tscn" id="2_nn8tr"]
|
||||||
[ext_resource type="Script" uid="uid://cquqe4f1m1sw6" path="res://addons/godot-xr-tools/objects/snap_zone.gd" id="3_ahn1e"]
|
[ext_resource type="Script" uid="uid://cquqe4f1m1sw6" path="res://addons/godot-xr-tools/objects/snap_zone.gd" id="3_ahn1e"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://mpapt5mkbuao" path="res://Prefabs/slide_off_dome.tscn" id="4_nn8tr"]
|
||||||
|
|
||||||
[sub_resource type="SphereShape3D" id="SphereShape3D_xmbo2"]
|
[sub_resource type="SphereShape3D" id="SphereShape3D_xmbo2"]
|
||||||
radius = 0.3
|
radius = 0.3
|
||||||
|
|
||||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_24d3s"]
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_24d3s"]
|
||||||
|
radius = 0.29541016
|
||||||
|
|
||||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_24d3s"]
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_24d3s"]
|
||||||
albedo_color = Color(0.1764706, 1, 1, 1)
|
albedo_color = Color(0.1764706, 1, 1, 1)
|
||||||
@@ -29,15 +31,18 @@ snap_mode = 1
|
|||||||
metadata/_custom_type_script = "uid://cquqe4f1m1sw6"
|
metadata/_custom_type_script = "uid://cquqe4f1m1sw6"
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="XRToolsSnapZone" unique_id=182042233]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="XRToolsSnapZone" unique_id=182042233]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.15291119, 0)
|
||||||
shape = SubResource("SphereShape3D_xmbo2")
|
shape = SubResource("SphereShape3D_xmbo2")
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1974757539]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1974757539]
|
||||||
shape = SubResource("CylinderShape3D_24d3s")
|
shape = SubResource("CylinderShape3D_24d3s")
|
||||||
|
|
||||||
|
[node name="SlideOffDome" parent="." unique_id=1427609426 instance=ExtResource("4_nn8tr")]
|
||||||
|
|
||||||
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="." unique_id=1172420592]
|
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="." unique_id=1172420592]
|
||||||
|
|
||||||
[node name="CSGCylinder3D" type="CSGCylinder3D" parent="CSGCombiner3D" unique_id=1073546772]
|
[node name="CSGCylinder3D" type="CSGCylinder3D" parent="CSGCombiner3D" unique_id=1073546772]
|
||||||
radius = 0.4
|
radius = 0.3
|
||||||
sides = 32
|
sides = 32
|
||||||
|
|
||||||
[node name="Cubes" type="Node3D" parent="." unique_id=100532970]
|
[node name="Cubes" type="Node3D" parent="." unique_id=100532970]
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
[ext_resource type="Script" uid="uid://0y6wnjcsum6" path="res://Stations/item_dispenser.gd" id="1_myl3s"]
|
[ext_resource type="Script" uid="uid://0y6wnjcsum6" path="res://Stations/item_dispenser.gd" id="1_myl3s"]
|
||||||
[ext_resource type="Script" uid="uid://cquqe4f1m1sw6" path="res://addons/godot-xr-tools/objects/snap_zone.gd" id="1_p30r1"]
|
[ext_resource type="Script" uid="uid://cquqe4f1m1sw6" path="res://addons/godot-xr-tools/objects/snap_zone.gd" id="1_p30r1"]
|
||||||
[ext_resource type="PackedScene" uid="uid://c0lknik4noobs" path="res://Items/BurgerBuns.tscn" id="2_1q74o"]
|
[ext_resource type="PackedScene" uid="uid://c0lknik4noobs" path="res://Items/BurgerBuns.tscn" id="2_1q74o"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://mpapt5mkbuao" path="res://Prefabs/slide_off_dome.tscn" id="4_rf1b2"]
|
||||||
|
|
||||||
[sub_resource type="SphereShape3D" id="SphereShape3D_xmbo2"]
|
[sub_resource type="SphereShape3D" id="SphereShape3D_xmbo2"]
|
||||||
radius = 0.3
|
radius = 0.3
|
||||||
@@ -31,6 +32,8 @@ shape = SubResource("SphereShape3D_xmbo2")
|
|||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1470079357]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1470079357]
|
||||||
shape = SubResource("CylinderShape3D_24d3s")
|
shape = SubResource("CylinderShape3D_24d3s")
|
||||||
|
|
||||||
|
[node name="SlideOffDome" parent="." unique_id=1427609426 instance=ExtResource("4_rf1b2")]
|
||||||
|
|
||||||
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="." unique_id=1746426494]
|
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="." unique_id=1746426494]
|
||||||
|
|
||||||
[node name="CSGCylinder3D" type="CSGCylinder3D" parent="CSGCombiner3D" unique_id=858311379]
|
[node name="CSGCylinder3D" type="CSGCylinder3D" parent="CSGCombiner3D" unique_id=858311379]
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ albedo_color = Color(0.45262197, 0.26770625, 0.2601587, 1)
|
|||||||
material = SubResource("StandardMaterial3D_qn1ku")
|
material = SubResource("StandardMaterial3D_qn1ku")
|
||||||
size = Vector3(0.5, 1, 0.5)
|
size = Vector3(0.5, 1, 0.5)
|
||||||
|
|
||||||
[sub_resource type="SphereShape3D" id="SphereShape3D_dlkho"]
|
[sub_resource type="BoxShape3D" id="BoxShape3D_mep2a"]
|
||||||
radius = 0.3
|
size = Vector3(0.81640625, 0.5635376, 0.79351807)
|
||||||
|
|
||||||
[node name="DirtStation" type="StaticBody3D" unique_id=160842153 groups=["station"]]
|
[node name="DirtStation" type="StaticBody3D" unique_id=160842153 groups=["station"]]
|
||||||
script = ExtResource("1_hc1d4")
|
script = ExtResource("1_hc1d4")
|
||||||
@@ -39,5 +39,5 @@ snap_mode = 1
|
|||||||
metadata/_custom_type_script = "uid://cquqe4f1m1sw6"
|
metadata/_custom_type_script = "uid://cquqe4f1m1sw6"
|
||||||
|
|
||||||
[node name="CollisionShape3D2" type="CollisionShape3D" parent="XRToolsSnapZone" unique_id=1398712192]
|
[node name="CollisionShape3D2" type="CollisionShape3D" parent="XRToolsSnapZone" unique_id=1398712192]
|
||||||
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, -0.000975132, 0)
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0.008666992, -0.11009073, -0.009353638)
|
||||||
shape = SubResource("SphereShape3D_dlkho")
|
shape = SubResource("BoxShape3D_mep2a")
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
[ext_resource type="Script" uid="uid://0y6wnjcsum6" path="res://Stations/item_dispenser.gd" id="1_jm0ik"]
|
[ext_resource type="Script" uid="uid://0y6wnjcsum6" path="res://Stations/item_dispenser.gd" id="1_jm0ik"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bp3v1jl8pctro" path="res://Containers/plate.tscn" id="2_tfo2i"]
|
[ext_resource type="PackedScene" uid="uid://bp3v1jl8pctro" path="res://Containers/plate.tscn" id="2_tfo2i"]
|
||||||
[ext_resource type="Script" uid="uid://cquqe4f1m1sw6" path="res://addons/godot-xr-tools/objects/snap_zone.gd" id="3_lr065"]
|
[ext_resource type="Script" uid="uid://cquqe4f1m1sw6" path="res://addons/godot-xr-tools/objects/snap_zone.gd" id="3_lr065"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://mpapt5mkbuao" path="res://Prefabs/slide_off_dome.tscn" id="4_tfo2i"]
|
||||||
|
|
||||||
[sub_resource type="SphereShape3D" id="SphereShape3D_xmbo2"]
|
[sub_resource type="SphereShape3D" id="SphereShape3D_xmbo2"]
|
||||||
radius = 0.3
|
radius = 0.3
|
||||||
@@ -28,6 +29,9 @@ shape = SubResource("SphereShape3D_xmbo2")
|
|||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=831688237]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=831688237]
|
||||||
shape = SubResource("CylinderShape3D_24d3s")
|
shape = SubResource("CylinderShape3D_24d3s")
|
||||||
|
|
||||||
|
[node name="SlideOffDome" parent="." unique_id=1427609426 instance=ExtResource("4_tfo2i")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.061363697, 0)
|
||||||
|
|
||||||
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="." unique_id=696108271]
|
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="." unique_id=696108271]
|
||||||
|
|
||||||
[node name="CSGCylinder3D" type="CSGCylinder3D" parent="CSGCombiner3D" unique_id=1339763385]
|
[node name="CSGCylinder3D" type="CSGCylinder3D" parent="CSGCombiner3D" unique_id=1339763385]
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
[ext_resource type="PackedScene" uid="uid://dpot5qie20vf6" path="res://Items/burger.tscn" id="2_mep2a"]
|
[ext_resource type="PackedScene" uid="uid://dpot5qie20vf6" path="res://Items/burger.tscn" id="2_mep2a"]
|
||||||
[ext_resource type="Script" uid="uid://cquqe4f1m1sw6" path="res://addons/godot-xr-tools/objects/snap_zone.gd" id="3_3xuvi"]
|
[ext_resource type="Script" uid="uid://cquqe4f1m1sw6" path="res://addons/godot-xr-tools/objects/snap_zone.gd" id="3_3xuvi"]
|
||||||
[ext_resource type="Texture2D" uid="uid://cexxfyw03hr81" path="res://Textures/1.png" id="4_1f5le"]
|
[ext_resource type="Texture2D" uid="uid://cexxfyw03hr81" path="res://Textures/1.png" id="4_1f5le"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://mpapt5mkbuao" path="res://Prefabs/slide_off_dome.tscn" id="5_mep2a"]
|
||||||
|
|
||||||
[sub_resource type="SphereShape3D" id="SphereShape3D_xmbo2"]
|
[sub_resource type="SphereShape3D" id="SphereShape3D_xmbo2"]
|
||||||
radius = 0.3
|
radius = 0.3
|
||||||
@@ -29,6 +30,8 @@ metadata/_custom_type_script = "uid://cquqe4f1m1sw6"
|
|||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="XRToolsSnapZone" unique_id=2105824734]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="XRToolsSnapZone" unique_id=2105824734]
|
||||||
shape = SubResource("SphereShape3D_xmbo2")
|
shape = SubResource("SphereShape3D_xmbo2")
|
||||||
|
|
||||||
|
[node name="SlideOffDome" parent="." unique_id=1427609426 instance=ExtResource("5_mep2a")]
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=378049928]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=378049928]
|
||||||
shape = SubResource("CylinderShape3D_24d3s")
|
shape = SubResource("CylinderShape3D_24d3s")
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,8 @@
|
|||||||
"854c7e1e-7521-4bcd-83ff-bb3fecec3142",
|
"854c7e1e-7521-4bcd-83ff-bb3fecec3142",
|
||||||
"4e2ca8d1-84e1-4913-ad8f-834007d52160",
|
"4e2ca8d1-84e1-4913-ad8f-834007d52160",
|
||||||
"dd822d14-88e5-4790-808e-7d2cf7f79133",
|
"dd822d14-88e5-4790-808e-7d2cf7f79133",
|
||||||
"784d5cd3-333a-40a9-b35f-3d0c73f00761"
|
"784d5cd3-333a-40a9-b35f-3d0c73f00761",
|
||||||
|
"9d7ecbc4-db2a-4d09-9f40-ceed3cf98c00"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -27,17 +28,19 @@
|
|||||||
{
|
{
|
||||||
"uuid": "fab8a81b-7ca9-4026-96bb-ed66ea58ef2e",
|
"uuid": "fab8a81b-7ca9-4026-96bb-ed66ea58ef2e",
|
||||||
"title": "Doing",
|
"title": "Doing",
|
||||||
"tasks": []
|
"tasks": [
|
||||||
|
"f8073eb2-8786-47b7-b63f-fa70c3f7115a"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"uuid": "0d743057-955a-473a-8123-a3f805505d5d",
|
"uuid": "0d743057-955a-473a-8123-a3f805505d5d",
|
||||||
"title": "Done",
|
"title": "Done",
|
||||||
"tasks": [
|
"tasks": [
|
||||||
"0dd511cd-592c-4334-afd8-c511bd36b7d0",
|
"caf459e5-bb88-47dd-bf15-254a3d70c30f",
|
||||||
"6942c45a-53a4-484f-9885-4f249cb4572b",
|
|
||||||
"f8073eb2-8786-47b7-b63f-fa70c3f7115a",
|
|
||||||
"21bc19f1-ee3c-4bbb-ab9a-07ec6123a823",
|
"21bc19f1-ee3c-4bbb-ab9a-07ec6123a823",
|
||||||
"d93a31cd-d475-4c5a-87fc-983174b2594f",
|
"d93a31cd-d475-4c5a-87fc-983174b2594f",
|
||||||
|
"0dd511cd-592c-4334-afd8-c511bd36b7d0",
|
||||||
|
"6942c45a-53a4-484f-9885-4f249cb4572b",
|
||||||
"a4dd35ae-dc8e-42a3-9044-bf1cb1af281a",
|
"a4dd35ae-dc8e-42a3-9044-bf1cb1af281a",
|
||||||
"7883d015-f065-4b18-a2ab-e2a0daa9dc81",
|
"7883d015-f065-4b18-a2ab-e2a0daa9dc81",
|
||||||
"1c3b9543-cb67-431d-bf71-c8753e816776",
|
"1c3b9543-cb67-431d-bf71-c8753e816776",
|
||||||
@@ -243,6 +246,34 @@
|
|||||||
"description": "",
|
"description": "",
|
||||||
"category": "bf4ec62e-526e-4027-876f-0b22bd17f79a",
|
"category": "bf4ec62e-526e-4027-876f-0b22bd17f79a",
|
||||||
"steps": []
|
"steps": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"uuid": "9d7ecbc4-db2a-4d09-9f40-ceed3cf98c00",
|
||||||
|
"title": "Add test that a hob can chain cook",
|
||||||
|
"description": "",
|
||||||
|
"category": "bf4ec62e-526e-4027-876f-0b22bd17f79a",
|
||||||
|
"steps": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"uuid": "0dd511cd-592c-4334-afd8-c511bd36b7d0",
|
||||||
|
"title": "Plates should snap onto Meals in a station",
|
||||||
|
"description": "Trowing a plate onto a hamburger on a hob should result in a plated hamburger",
|
||||||
|
"category": "bf4ec62e-526e-4027-876f-0b22bd17f79a",
|
||||||
|
"steps": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"uuid": "7883d015-f065-4b18-a2ab-e2a0daa9dc81",
|
||||||
|
"title": "Snap_zones should abosrb any item in range",
|
||||||
|
"description": "",
|
||||||
|
"category": "bf4ec62e-526e-4027-876f-0b22bd17f79a",
|
||||||
|
"steps": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"uuid": "caf459e5-bb88-47dd-bf15-254a3d70c30f",
|
||||||
|
"title": "Station Snap_zones should cover the whole station",
|
||||||
|
"description": "",
|
||||||
|
"category": "bf4ec62e-526e-4027-876f-0b22bd17f79a",
|
||||||
|
"steps": []
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"layout": {
|
"layout": {
|
||||||
|
|||||||
Reference in New Issue
Block a user