rhetorical
This commit is contained in:
parent
aa4046e7dc
commit
4525ab50ff
12 changed files with 138 additions and 2 deletions
|
|
@ -1,6 +1,8 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://bjxjcx2qu16q5"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://bjxjcx2qu16q5"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bjnv2g1ni0525" path="res://src/drag/draggable_object.gd" id="1_vcwhe"]
|
||||
[ext_resource type="Script" uid="uid://ctu7escah5lo1" path="res://src/interactible/interaction_source.gd" id="2_627mb"]
|
||||
[ext_resource type="Script" uid="uid://e8xu57ewvb5a" path="res://src/interactible/proximity_rotator.gd" id="3_00eeh"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_vcwhe"]
|
||||
radius = 0.49570328
|
||||
|
|
@ -21,9 +23,17 @@ script = ExtResource("1_vcwhe")
|
|||
shape = SubResource("SphereShape3D_vcwhe")
|
||||
|
||||
[node name="InteractionArea" type="Area3D" parent="."]
|
||||
script = ExtResource("2_627mb")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="InteractionArea"]
|
||||
shape = SubResource("CapsuleShape3D_vcwhe")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
mesh = SubResource("CylinderMesh_627mb")
|
||||
|
||||
[node name="ProximityRotator" type="Node" parent="."]
|
||||
script = ExtResource("3_00eeh")
|
||||
|
||||
[connection signal="drag_ended" from="." to="InteractionArea" method="request_interaction"]
|
||||
[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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue