StonePile.tscn 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. [gd_scene load_steps=5 format=3 uid="uid://c4f5jvn35j2i2"]
  2. [ext_resource type="Material" uid="uid://u3s6s08b1pkk" path="res://tiles/mine_parts/mine_rocks.material" id="2_bbp1b"]
  3. [ext_resource type="ArrayMesh" uid="uid://bogqcny13v0hb" path="res://entities/objects/stone_pile/StonePile.obj" id="2_t24fl"]
  4. [sub_resource type="BoxShape3D" id="BoxShape3D_f7e4d"]
  5. size = Vector3(1, 0.780023, 1)
  6. [sub_resource type="BoxShape3D" id="BoxShape3D_f60fp"]
  7. size = Vector3(1.95, 1.36453, 1.95)
  8. [node name="StonePile" type="StaticBody3D" groups=["grindable", "spiky"]]
  9. collision_layer = 89
  10. collision_mask = 0
  11. [node name="CollisionShape3D" type="CollisionShape3D" parent="."]
  12. transform = Transform3D(1.89211, 0, 0, 0, 1.25979, 0, 0, 0, 1.86312, 0, 0.309045, 0)
  13. shape = SubResource("BoxShape3D_f7e4d")
  14. [node name="MeshInstance3D" type="MeshInstance3D" parent="."]
  15. transform = Transform3D(-0.597653, 0, 0.801755, 0, 1, 0, -0.801755, 0, -0.597653, 0, 0, 0)
  16. mesh = ExtResource("2_t24fl")
  17. surface_material_override/0 = ExtResource("2_bbp1b")
  18. [node name="DetectionArea" type="Area3D" parent="."]
  19. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
  20. collision_layer = 4
  21. collision_mask = 7
  22. [node name="CollisionShape3D" type="CollisionShape3D" parent="DetectionArea"]
  23. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.223432, 0)
  24. shape = SubResource("BoxShape3D_f60fp")