1234567891011121314151617181920212223242526272829303132333435 |
- [gd_scene load_steps=5 format=3 uid="uid://cyim4ocdllgyw"]
- [ext_resource type="PackedScene" uid="uid://cjtln1brv5njd" path="res://entities/GridBasedMovable.tscn" id="1_pso1k"]
- [ext_resource type="Script" path="res://entities/enemies/BugRandom.gd" id="2_d0jwv"]
- [ext_resource type="ArrayMesh" uid="uid://2sf4rb1nj2re" path="res://entities/enemies/models/enemy_bug.obj" id="3_6xf8k"]
- [ext_resource type="Material" uid="uid://kleey55j2ipm" path="res://entities/enemies/bugrandom.material" id="4_00str"]
- [node name="BugRandom" groups=["enemy"] instance=ExtResource("1_pso1k")]
- collision_layer = 32
- collision_mask = 5
- script = ExtResource("2_d0jwv")
- min_idle_time = 0.1
- max_idle_time = 0.8
- step_time = 0.2
- 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_6xf8k")
- surface_material_override/0 = ExtResource("4_00str")
- [node name="PlacementProtectionArea" parent="RotationPoint" index="2"]
- monitorable = true
- [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"]
|