diff options
author | jacopograndi <jacopo.grandi@outlook.it> | 2022-01-14 00:06:52 +0100 |
---|---|---|
committer | jacopograndi <jacopo.grandi@outlook.it> | 2022-01-14 00:06:52 +0100 |
commit | 90af765b430e3a75daa9b2b4d0343ae58ad5c33d (patch) | |
tree | 024e803ce9b7476ed310fc156b54eb5ebced3c4f /scenes/turret.tscn | |
parent | 7cb4290601010459b09376396c7833ec391c25bf (diff) |
secret work
Diffstat (limited to 'scenes/turret.tscn')
-rw-r--r-- | scenes/turret.tscn | 12 |
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 |