walker.tscn 1.0 KB

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