16 lines
611 B
Plaintext
16 lines
611 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://bjqg0e6lk6x76"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://b1dsepbsi6d2" path="res://assets/Models/cannon.blend" id="1_f7ou6"]
|
|
[ext_resource type="Script" uid="uid://cg8ayedd3vths" path="res://scripts/enemy_cannon.gd" id="2_cfo8u"]
|
|
|
|
[node name="cannon" instance=ExtResource("1_f7ou6")]
|
|
script = ExtResource("2_cfo8u")
|
|
|
|
[node name="RayCast3D" type="RayCast3D" parent="." index="2"]
|
|
target_position = Vector3(0, 1, 0)
|
|
|
|
[node name="Timer" type="Timer" parent="." index="3"]
|
|
autostart = true
|
|
|
|
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
|