walker.tscn 934 B

12345678910111213141516171819202122232425
  1. [gd_scene load_steps=4 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. [sub_resource type="BoxShape3D" id="BoxShape3D_6q2sk"]
  5. size = Vector3(0.56, 0.8, 0.4)
  6. [node name="Walker" type="CharacterBody3D"]
  7. collision_layer = 2
  8. collision_mask = 29
  9. script = ExtResource("1_xg6by")
  10. [node name="BasicPlayerModel" parent="." instance=ExtResource("2_p2xjj")]
  11. [node name="Shape" type="CollisionShape3D" parent="."]
  12. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.4, 0)
  13. shape = SubResource("BoxShape3D_6q2sk")
  14. [node name="VehicleRange" type="RayCast3D" parent="."]
  15. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.404422, 0)
  16. enabled = false
  17. target_position = Vector3(0, 1.5, -1.5)
  18. collision_mask = 8
  19. hit_from_inside = true