Stand and holder
This commit is contained in:
parent
2f2ac7c540
commit
b7ce36ffd0
15 changed files with 408 additions and 1 deletions
19
scenes/flask_hold_area.tscn
Normal file
19
scenes/flask_hold_area.tscn
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
[gd_scene format=3 uid="uid://npbjtos2xjqh"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dc4qhmcjwi568" path="res://src/flask_hold_area.gd" id="1_p5tus"]
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_ig37s"]
|
||||
height = 0.9719238
|
||||
radius = 0.09082031
|
||||
|
||||
[node name="FlaskHoldArea" type="Area3D" unique_id=1519161328]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0, 0, 0)
|
||||
script = ExtResource("1_p5tus")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=565290681]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.046020508, 0)
|
||||
shape = SubResource("CylinderShape3D_ig37s")
|
||||
debug_color = Color(0, 0.5950001, 0.7, 1)
|
||||
|
||||
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|
||||
[connection signal="area_exited" from="." to="." method="_on_area_exited"]
|
||||
33
scenes/flask_holder.tscn
Normal file
33
scenes/flask_holder.tscn
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
[gd_scene format=3 uid="uid://c6yoaffdq7w8k"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bjnv2g1ni0525" path="res://src/drag/draggable_object.gd" id="1_ewrbt"]
|
||||
[ext_resource type="PackedScene" uid="uid://dwtaqdacgcysa" path="res://assets/models/FlaskHolder.glb" id="1_twixx"]
|
||||
[ext_resource type="PackedScene" uid="uid://npbjtos2xjqh" path="res://scenes/flask_hold_area.tscn" id="2_ewrbt"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_a7l4b"]
|
||||
size = Vector3(1.0390625, 0.6665039, 0.28515625)
|
||||
|
||||
[node name="FlaskHolder" type="Area3D" unique_id=297421419]
|
||||
script = ExtResource("1_ewrbt")
|
||||
|
||||
[node name="FlaskHolder2" parent="." unique_id=947584784 instance=ExtResource("1_twixx")]
|
||||
transform = Transform3D(0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 0.5777259, 0)
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=2062784805]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.32885742, 0)
|
||||
shape = SubResource("BoxShape3D_a7l4b")
|
||||
|
||||
[node name="FlaskHoldArea" parent="." unique_id=1519161328 instance=ExtResource("2_ewrbt")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -0.41687107, 0.45590642, 0.0024570525)
|
||||
|
||||
[node name="FlaskHoldArea2" parent="." unique_id=456473283 instance=ExtResource("2_ewrbt")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -0.21569425, 0.45590642, 0.0024570525)
|
||||
|
||||
[node name="FlaskHoldArea3" parent="." unique_id=1702091089 instance=ExtResource("2_ewrbt")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0.0042236447, 0.45590642, 0.0024570525)
|
||||
|
||||
[node name="FlaskHoldArea4" parent="." unique_id=939138817 instance=ExtResource("2_ewrbt")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0.21210945, 0.45590642, 0.0024570525)
|
||||
|
||||
[node name="FlaskHoldArea5" parent="." unique_id=568099085 instance=ExtResource("2_ewrbt")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0.4127617, 0.45590642, 0.0024570525)
|
||||
183
scenes/flask_stand.tscn
Normal file
183
scenes/flask_stand.tscn
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -8,6 +8,8 @@
|
|||
[ext_resource type="Resource" uid="uid://cay05wpketmny" path="res://assets/draggables/flask.tres" id="4_gdt2y"]
|
||||
[ext_resource type="Resource" uid="uid://6vpr6n7yruie" path="res://assets/draggables/spoon.tres" id="5_wm3ai"]
|
||||
[ext_resource type="Resource" uid="uid://kg34c4105ssp" path="res://assets/draggables/burner.tres" id="6_p7vwb"]
|
||||
[ext_resource type="Resource" uid="uid://dnxpw2metn0oq" path="res://assets/draggables/stand.tres" id="8_7dvkv"]
|
||||
[ext_resource type="Resource" uid="uid://cm2is1qooywkf" path="res://assets/draggables/holder.tres" id="9_vdcm2"]
|
||||
|
||||
[node name="UserInterface" type="Control" unique_id=1780432093]
|
||||
layout_mode = 3
|
||||
|
|
@ -109,7 +111,18 @@ layout_mode = 2
|
|||
text = "Спиртовка"
|
||||
draggable = ExtResource("6_p7vwb")
|
||||
|
||||
[node name="Spoon" parent="Intruments/ScrollContainer/VBoxContainer" index="2" unique_id=1377215067 instance=ExtResource("3_yev5y")]
|
||||
[node name="Stand" parent="Intruments/ScrollContainer/VBoxContainer" index="2" unique_id=653836695 instance=ExtResource("3_yev5y")]
|
||||
layout_mode = 2
|
||||
text = "Штатив"
|
||||
draggable = ExtResource("8_7dvkv")
|
||||
|
||||
[node name="Holder" parent="Intruments/ScrollContainer/VBoxContainer" index="3" unique_id=878085834 instance=ExtResource("3_yev5y")]
|
||||
layout_mode = 2
|
||||
text = "Держатель пробирок"
|
||||
autowrap_mode = 2
|
||||
draggable = ExtResource("9_vdcm2")
|
||||
|
||||
[node name="Spoon" parent="Intruments/ScrollContainer/VBoxContainer" index="4" unique_id=1377215067 instance=ExtResource("3_yev5y")]
|
||||
layout_mode = 2
|
||||
text = "Ложка"
|
||||
draggable = ExtResource("5_wm3ai")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue