[gd_scene load_steps=7 format=3 uid="uid://cooedcoc3t1qs"]

[ext_resource type="PackedScene" uid="uid://cjtln1brv5njd" path="res://entities/GridBasedMovable.tscn" id="1_7iinp"]
[ext_resource type="Script" path="res://entities/objects/breakable_boulder/BreakableBoulder.gd" id="2_fswxi"]
[ext_resource type="ArrayMesh" uid="uid://c48f388mfolc4" path="res://entities/objects/breakable_boulder/breakable_boulder.obj" id="3_vp0ao"]
[ext_resource type="Material" uid="uid://u3s6s08b1pkk" path="res://tiles/mine_parts/mine_rocks.material" id="4_7vucr"]
[ext_resource type="PackedScene" uid="uid://b8dufelt0jqij" path="res://entities/ObjectSpawner.tscn" id="5_whskf"]
[ext_resource type="PackedScene" uid="uid://c4f5jvn35j2i2" path="res://entities/objects/stone_pile/StonePile.tscn" id="6_fw2ju"]

[node name="BreakableBoulder" groups=["breakable"] instance=ExtResource("1_7iinp")]
script = ExtResource("2_fswxi")
can_slide = true

[node name="StaticMesh" parent="RotationPoint" index="1"]
mesh = ExtResource("3_vp0ao")
surface_material_override/0 = ExtResource("4_7vucr")

[node name="RayCastFront" parent="RC_Holder" index="0"]
collision_mask = 23

[node name="RayCastBack" parent="RC_Holder" index="3"]
collision_mask = 15

[node name="ObjectSpawner" parent="." index="7" instance=ExtResource("5_whskf")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.163533, 0)
collision_mask = 35
one_time = false
obj_to_instance = ExtResource("6_fw2ju")

[connection signal="no_health" from="Health" to="." method="_on_Health_no_health"]

[editable path="RC_Holder"]
[editable path="ObjectSpawner"]
