|
@@ -1,7 +1,8 @@
|
|
|
-[gd_scene load_steps=4 format=3 uid="uid://b10k58capm04o"]
|
|
|
+[gd_scene load_steps=5 format=3 uid="uid://b10k58capm04o"]
|
|
|
|
|
|
[ext_resource type="Script" path="res://component/entity/walker/walker.gd" id="1_xg6by"]
|
|
|
[ext_resource type="PackedScene" uid="uid://bt8on6t7lqtrt" path="res://component/entity/walker/BasicPlayer.glb" id="2_p2xjj"]
|
|
|
+[ext_resource type="Script" path="res://flow/control/local_input/local_input.gd" id="3_ya20m"]
|
|
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_6q2sk"]
|
|
|
size = Vector3(0.56, 0.8, 0.4)
|
|
@@ -11,8 +12,14 @@ collision_layer = 2
|
|
|
collision_mask = 5
|
|
|
script = ExtResource("1_xg6by")
|
|
|
|
|
|
-[node name="BasicPlayer" parent="." instance=ExtResource("2_p2xjj")]
|
|
|
+[node name="BasicPlayerModel" parent="." instance=ExtResource("2_p2xjj")]
|
|
|
|
|
|
[node name="Shape" type="CollisionShape3D" parent="."]
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.4, 0)
|
|
|
shape = SubResource("BoxShape3D_6q2sk")
|
|
|
+
|
|
|
+[node name="Control" type="Node" parent="."]
|
|
|
+script = ExtResource("3_ya20m")
|
|
|
+
|
|
|
+[connection signal="dir_changed" from="Control" to="." method="_on_dir_changed"]
|
|
|
+[connection signal="main_action" from="Control" to="." method="_on_main_action"]
|