61 lines
1.9 KiB
Plaintext
61 lines
1.9 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://cmlud1hwkd6sv"]
|
|
|
|
[ext_resource type="Script" uid="uid://cmvep0qi7qlvf" path="res://scenes/enemies/FlyingEnemy.cs" id="1_b46rq"]
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_b46rq"]
|
|
|
|
[sub_resource type="SphereMesh" id="SphereMesh_1bsgx"]
|
|
|
|
[sub_resource type="SphereMesh" id="SphereMesh_4yfjf"]
|
|
radius = 0.05
|
|
height = 0.1
|
|
radial_segments = 4
|
|
rings = 4
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_4yfjf"]
|
|
albedo_color = Color(0.06469653, 0.06469653, 0.06469653, 1)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_4yfjf"]
|
|
size = Vector3(1, 1, 1.5)
|
|
|
|
[node name="FlyingEnemy" type="CharacterBody3D"]
|
|
collision_layer = 16
|
|
collision_mask = 273
|
|
motion_mode = 1
|
|
script = ExtResource("1_b46rq")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
shape = SubResource("SphereShape3D_b46rq")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
layers = 33
|
|
mesh = SubResource("SphereMesh_1bsgx")
|
|
|
|
[node name="MeshInstance3D2" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.2, 0, -0.5)
|
|
layers = 33
|
|
cast_shadow = 0
|
|
ignore_occlusion_culling = true
|
|
mesh = SubResource("SphereMesh_4yfjf")
|
|
surface_material_override/0 = SubResource("StandardMaterial3D_4yfjf")
|
|
|
|
[node name="MeshInstance3D3" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.2, 0, -0.5)
|
|
layers = 33
|
|
cast_shadow = 0
|
|
ignore_occlusion_culling = true
|
|
mesh = SubResource("SphereMesh_4yfjf")
|
|
surface_material_override/0 = SubResource("StandardMaterial3D_4yfjf")
|
|
|
|
[node name="GroundDistance" type="RayCast3D" parent="."]
|
|
target_position = Vector3(0, 0, 0)
|
|
collision_mask = 272
|
|
|
|
[node name="DamageBox" type="Area3D" parent="."]
|
|
collision_layer = 0
|
|
monitorable = false
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="DamageBox"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.75)
|
|
shape = SubResource("BoxShape3D_4yfjf")
|