-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheneB7BD.tmp
36 lines (25 loc) · 1.21 KB
/
eneB7BD.tmp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[gd_scene load_steps=5 format=3 uid="uid://cbwr7p0af5ue3"]
[ext_resource type="Script" path="res://Enemy.gd" id="1_g687n"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_jm4gi"]
radius = 0.2
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_3g1i1"]
radius = 0.6
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_1u1xu"]
[node name="Enemy" type="CharacterBody3D"]
script = ExtResource("1_g687n")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("CapsuleShape3D_jm4gi")
[node name="DamageArea" type="Area3D" parent="."]
collision_layer = 4
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DamageArea"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("CapsuleShape3D_3g1i1")
[node name="SoftCollision" type="Area3D" parent="."]
collision_layer = 4
collision_mask = 4
[node name="CollisionShape3D" type="CollisionShape3D" parent="SoftCollision"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("CapsuleShape3D_1u1xu")
[connection signal="area_entered" from="DamageArea" to="." method="_on_damage_area_area_entered"]