DungeonCrawler/enemy.tscn
2026-03-15 00:38:53 +01:00

36 lines
1.5 KiB
Text

[gd_scene format=3 uid="uid://cvojaeanxugfj"]
[ext_resource type="PackedScene" uid="uid://tosl2au4emxt" path="res://assets/kenney_blocky-characters_20/Models/GLB format/character-d.glb" id="1_7k104"]
[ext_resource type="Script" uid="uid://bg5qs3pcfp7p7" path="res://enemy.gd" id="2_enemy"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_4gyqm"]
radius = 0.6
height = 3.0
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_7k104"]
radius = 0.6
height = 3.0
[node name="Enemy" type="CharacterBody3D" unique_id=332011146]
script = ExtResource("2_enemy")
[node name="character-d2" parent="." unique_id=846574684 instance=ExtResource("1_7k104")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 0, 0, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1323028920]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.35, 0)
shape = SubResource("CapsuleShape3D_4gyqm")
[node name="NavigationAgent3D" type="NavigationAgent3D" parent="." unique_id=457987844]
[node name="Area3D" type="Area3D" parent="." unique_id=1689838821]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D" unique_id=116643275]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.35, 0)
shape = SubResource("CapsuleShape3D_7k104")
[node name="HealthLabel" type="Label3D" parent="." unique_id=1251847350]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 0, 3.5, 0)
visible = false
text = "50 / 50"
outline_size = 8