aboutsummaryrefslogtreecommitdiff
path: root/scenes/turret.tscn
blob: c71f69f01f10dc949e1cd0ce9be9876d5457e9bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[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="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