[gd_scene load_steps=5 format=3 uid="uid://c4f5jvn35j2i2"]

[ext_resource type="Material" uid="uid://u3s6s08b1pkk" path="res://tiles/mine_parts/mine_rocks.material" id="2_bbp1b"]
[ext_resource type="ArrayMesh" uid="uid://bogqcny13v0hb" path="res://entities/objects/stone_pile/StonePile.obj" id="2_t24fl"]

[sub_resource type="BoxShape3D" id="BoxShape3D_f7e4d"]
size = Vector3(1, 0.780023, 1)

[sub_resource type="BoxShape3D" id="BoxShape3D_f60fp"]
size = Vector3(1.95, 1.36453, 1.95)

[node name="StonePile" type="StaticBody3D" groups=["grindable", "spiky"]]
collision_layer = 89
collision_mask = 0

[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1.89211, 0, 0, 0, 1.25979, 0, 0, 0, 1.86312, 0, 0.309045, 0)
shape = SubResource("BoxShape3D_f7e4d")

[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(-0.597653, 0, 0.801755, 0, 1, 0, -0.801755, 0, -0.597653, 0, 0, 0)
mesh = ExtResource("2_t24fl")
surface_material_override/0 = ExtResource("2_bbp1b")

[node name="DetectionArea" type="Area3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
collision_layer = 4
collision_mask = 7

[node name="CollisionShape3D" type="CollisionShape3D" parent="DetectionArea"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.223432, 0)
shape = SubResource("BoxShape3D_f60fp")
