First_Person_Slapper/Scenes/Enemy.tscn
2022-10-11 19:54:40 -04:00

37 lines
1.0 KiB
Plaintext

[gd_scene load_steps=8 format=2]
[ext_resource path="res://Scripts/HitBox.gd" type="Script" id=1]
[ext_resource path="res://Scenes/Enemy.gd" type="Script" id=2]
[ext_resource path="res://Scripts/HurtBox.gd" type="Script" id=3]
[sub_resource type="SphereMesh" id=6]
[sub_resource type="SphereShape" id=7]
[sub_resource type="SphereShape" id=8]
[sub_resource type="SphereShape" id=9]
[node name="Enemy" type="KinematicBody"]
script = ExtResource( 2 )
[node name="MeshInstance" type="MeshInstance" parent="."]
mesh = SubResource( 6 )
[node name="Head" type="Area" parent="."]
script = ExtResource( 3 )
[node name="HeadCollision" type="CollisionShape" parent="Head"]
shape = SubResource( 7 )
[node name="EnemyCollision" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, -0.094023, 0 )
shape = SubResource( 8 )
[node name="HitBox" type="Area" parent="."]
script = ExtResource( 1 )
hitbox_type = 2
[node name="CollisionShape" type="CollisionShape" parent="HitBox"]
shape = SubResource( 9 )