Enemy follow system

This commit is contained in:
2024-09-03 00:41:15 -07:00
parent dc9d9c4589
commit 8df3abc775
11 changed files with 156 additions and 56 deletions

View File

@@ -7,6 +7,21 @@
[sub_resource type="BoxShape3D" id="BoxShape3D_qihtb"]
size = Vector3(0.371643, 0.289612, 0.286743)
[sub_resource type="Animation" id="Animation_d22ed"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Hitbox:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector3(0, 1, 0)]
}
[sub_resource type="Animation" id="Animation_7gvmx"]
resource_name = "throw"
length = 2.0
@@ -23,21 +38,6 @@ tracks/0/keys = {
"values": [Vector3(0, 1, 0), Vector3(0, 1, -15)]
}
[sub_resource type="Animation" id="Animation_d22ed"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Hitbox:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector3(0, 1, 0)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_qfght"]
_data = {
"RESET": SubResource("Animation_d22ed"),