12345678910111213141516171819202122232425262728293031323334353637383940 |
- [gd_scene load_steps=5 format=3 uid="uid://3ccxm6ejer2u"]
- [ext_resource type="PackedScene" uid="uid://cjtln1brv5njd" path="res://entities/GridBasedMovable.tscn" id="1_1e3wt"]
- [ext_resource type="Script" path="res://entities/enemies/Bug.gd" id="2_dk0rn"]
- [ext_resource type="ArrayMesh" uid="uid://2sf4rb1nj2re" path="res://entities/enemies/models/enemy_bug.obj" id="3_ctx12"]
- [ext_resource type="Material" uid="uid://cbbqb3y27fxms" path="res://entities/enemies/bug.material" id="4_xiqkm"]
- [node name="Bug" groups=["enemy"] instance=ExtResource("1_1e3wt")]
- collision_layer = 32
- collision_mask = 5
- script = ExtResource("2_dk0rn")
- min_idle_time = 0.1
- max_idle_time = 0.1
- start_direction = 0
- can_push = false
- step_time = 0.25
- enable_rotation = true
- [node name="StaticMesh" parent="RotationPoint" index="1"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
- mesh = ExtResource("3_ctx12")
- surface_material_override/0 = ExtResource("4_xiqkm")
- [node name="PlacementProtectionArea" parent="RotationPoint" index="2"]
- monitorable = true
- [node name="DetectionArea" parent="." index="3"]
- collision_layer = 32
- [node name="RayCastFront" parent="RC_Holder" index="0"]
- collision_mask = 103
- [node name="IdleTimer" type="Timer" parent="." index="6"]
- wait_time = 0.1
- one_shot = true
- [connection signal="timeout" from="IdleTimer" to="." method="_on_IdleTimer_timeout"]
- [editable path="RC_Holder"]
|