aboutsummaryrefslogtreecommitdiff
path: root/scenes/turret.tscn
diff options
context:
space:
mode:
authorjacopograndi <jacopo.grandi@outlook.it>2021-12-09 00:52:59 +0100
committerjacopograndi <jacopo.grandi@outlook.it>2021-12-09 00:52:59 +0100
commit0f518727c28d3204415db14c7ca0e4f7cb653677 (patch)
treea595121771b69a52f17154d8e5c61b7e4b2b8190 /scenes/turret.tscn
working
Diffstat (limited to 'scenes/turret.tscn')
-rw-r--r--scenes/turret.tscn14
1 files changed, 14 insertions, 0 deletions
diff --git a/scenes/turret.tscn b/scenes/turret.tscn
new file mode 100644
index 0000000..61ab365
--- /dev/null
+++ b/scenes/turret.tscn
@@ -0,0 +1,14 @@
+[gd_scene load_steps=3 format=2]
+
+[ext_resource path="res://scripts/turret.gd" type="Script" id=1]
+
+[sub_resource type="BoxShape" id=1]
+
+[node name="turret" type="Spatial" groups=["turrets"]]
+script = ExtResource( 1 )
+
+[node name="turret" type="StaticBody" parent="." groups=["turrets"]]
+
+[node name="CollisionShape" type="CollisionShape" parent="turret"]
+transform = Transform( 0.25, 0, 0, 0, 0.25, 0, 0, 0, 0.25, 0, 0.25, 0 )
+shape = SubResource( 1 )