Interaction rework

This commit is contained in:
Rendo 2025-12-19 13:23:41 +05:00
commit 72bea66082
11 changed files with 90 additions and 23 deletions

View file

@ -13,9 +13,10 @@ resource_local_to_scene = true
height = 0.5024414
radius = 0.22460938
[node name="Flask" type="Area3D"]
[node name="Flask" type="Area3D" node_paths=PackedStringArray("interactible") groups=["test"]]
collision_layer = 5
script = ExtResource("1_o7vug")
interactible = NodePath("Interaction")
[node name="Jar" type="MeshInstance3D" parent="."]
transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0, 0, 0)
@ -34,5 +35,4 @@ shape = SubResource("CylinderShape3D_kfk5m")
script = ExtResource("7_ymvgp")
[node name="Interaction" type="ConfirmationDialog" parent="."]
unique_name_in_owner = true
script = ExtResource("5_o7vug")