aboutsummaryrefslogtreecommitdiff
path: root/scenes/turret.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'scenes/turret.tscn')
-rw-r--r--scenes/turret.tscn12
1 files changed, 10 insertions, 2 deletions
diff --git a/scenes/turret.tscn b/scenes/turret.tscn
index 61ab365..c71f69f 100644
--- a/scenes/turret.tscn
+++ b/scenes/turret.tscn
@@ -1,14 +1,22 @@
-[gd_scene load_steps=3 format=2]
+[gd_scene load_steps=4 format=2]
[ext_resource path="res://scripts/turret.gd" type="Script" id=1]
[sub_resource type="BoxShape" id=1]
+[sub_resource type="SphereShape" id=2]
+radius = 0.95
+
[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"]
+[node name="CollisionShapeBox" 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 )
+
+[node name="CollisionShapeSphere" type="CollisionShape" parent="turret"]
+transform = Transform( 0.25, 0, 0, 0, 0.25, 0, 0, 0, 0.25, 0, 0.25, 0 )
+shape = SubResource( 2 )
+disabled = true