File size: 686 Bytes
e7fdd7d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[gd_scene load_steps=4 format=3 uid="uid://bkpr7mt3rwxj3"]

[ext_resource type="PackedScene" uid="uid://coooffo26jyba" path="res://assets/mine.blend" id="1_tx8dm"]
[ext_resource type="Script" path="res://mine.gd" id="2_xgged"]

[sub_resource type="CylinderShape3D" id="CylinderShape3D_41oc0"]
radius = 1.3

[node name="mine" instance=ExtResource("1_tx8dm")]
script = ExtResource("2_xgged")

[node name="Area3D" type="Area3D" parent="." index="8"]
collision_layer = 16

[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D" index="0"]
shape = SubResource("CylinderShape3D_41oc0")

[connection signal="body_entered" from="Area3D" to="." method="_on_area_3d_body_entered"]