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

[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