reactions

This commit is contained in:
Rendo 2025-12-05 10:03:45 +05:00
commit 5e20eeb8bf
74 changed files with 891 additions and 19 deletions

View file

@ -4,7 +4,6 @@
[ext_resource type="Script" uid="uid://ctu7escah5lo1" path="res://src/interactible/interaction_source.gd" id="2_627mb"]
[ext_resource type="PackedScene" uid="uid://b6ydpkle2ol20" path="res://assets/models/FlaskNew.glb" id="2_qf1og"]
[ext_resource type="Script" uid="uid://e8xu57ewvb5a" path="res://src/interactible/proximity_rotator.gd" id="3_00eeh"]
[ext_resource type="Script" uid="uid://b1gv6dt8bwj2p" path="res://src/interactible/returner.gd" id="5_bqclg"]
[ext_resource type="Script" uid="uid://dteb2xxl8gixp" path="res://src/ui/slider_display.gd" id="5_qb0nw"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_vcwhe"]
@ -14,7 +13,11 @@ height = 0.9921875
[sub_resource type="SphereShape3D" id="SphereShape3D_vcwhe"]
radius = 0.49649125
[node name="DraggableObject" type="Area3D"]
[sub_resource type="Curve" id="Curve_qb0nw"]
_data = [Vector2(0, 0), 0.0, 0.067761436, 0, 0, Vector2(0.75, 1), 0.0, 0.0, 0, 0]
point_count = 2
[node name="Flask" type="Area3D"]
script = ExtResource("1_vcwhe")
[node name="DragArea" type="CollisionShape3D" parent="."]
@ -36,11 +39,8 @@ shape = SubResource("SphereShape3D_vcwhe")
[node name="ProximityRotator" type="Node" parent="." node_paths=PackedStringArray("rotated")]
script = ExtResource("3_00eeh")
rotated = NodePath("..")
proximity_radius = 0.746
[node name="Returner" type="Node" parent="." node_paths=PackedStringArray("node")]
script = ExtResource("5_bqclg")
node = NodePath("..")
proximity_radius = 0.1
modification_curve = SubResource("Curve_qb0nw")
[node name="InteractionDialog" type="ConfirmationDialog" parent="."]
oversampling_override = 1.0
@ -72,6 +72,5 @@ layout_mode = 2
size_flags_horizontal = 3
[connection signal="drag_ended" from="." to="InteractionArea" method="request_interaction"]
[connection signal="interaction_closed" from="InteractionArea" to="Returner" method="return_to_start"]
[connection signal="interaction_reciever_entered" from="InteractionArea" to="ProximityRotator" method="_on_interaction_area_interaction_reciever_entered"]
[connection signal="interaction_reciever_exited" from="InteractionArea" to="ProximityRotator" method="_on_interaction_area_interaction_reciever_exited"]