[gd_scene load_steps=7 format=3 uid="uid://brpccv2gy7pjs"]

[ext_resource type="PackedScene" uid="uid://d0ir0dpghkikq" path="res://GameObjects/beam.tscn" id="1_7e7bw"]
[ext_resource type="PackedScene" uid="uid://v5p6ih28q6ro" path="res://Models/SM_Wep_Shotgun_Plasma_01.fbx" id="2_snu5d"]

[sub_resource type="CylinderMesh" id="CylinderMesh_sewkr"]
top_radius = 0.21
height = 4.295

[sub_resource type="BoxShape3D" id="BoxShape3D_rxnqc"]
size = Vector3(1, 3.18433, 1)

[sub_resource type="SphereShape3D" id="SphereShape3D_rdc8b"]
radius = 167.996

[sub_resource type="BoxMesh" id="BoxMesh_ag1t0"]
size = Vector3(0.205, 1, 0.83)

[node name="Turret" type="Turret"]
attack_classes = [&"CarPlayer"]
beam_scene = ExtResource("1_7e7bw")
collision_layer = 9
collision_mask = 9
axis_lock_linear_x = true
axis_lock_linear_y = true
axis_lock_linear_z = true
axis_lock_angular_x = true
axis_lock_angular_y = true
axis_lock_angular_z = true
freeze = true
freeze_mode = 1

[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.47794, 0)
mesh = SubResource("CylinderMesh_sewkr")

[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.45032, 0)
shape = SubResource("BoxShape3D_rxnqc")

[node name="AwarenessArea" type="Area3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -15.7959, 0)
collision_layer = 0
collision_mask = 2
monitorable = false

[node name="CollisionShape3D" type="CollisionShape3D" parent="AwarenessArea"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 13.9111, 0)
shape = SubResource("SphereShape3D_rdc8b")

[node name="Gun" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.79299, 0)

[node name="Root Scene" parent="Gun" instance=ExtResource("2_snu5d")]
transform = Transform3D(3.8339, 0, 0, 0, 3.8339, 0, 0, 0, 3.8339, 0, -0.357125, 0)

[node name="MeshInstance3D" type="MeshInstance3D" parent="Gun"]
transform = Transform3D(1, 0, 0, 0, 0.827639, -0.56126, 0, 0.56126, 0.827639, 0, -0.130876, 0.124961)
mesh = SubResource("BoxMesh_ag1t0")

[node name="MeshInstance3D2" type="MeshInstance3D" parent="Gun"]
transform = Transform3D(1, 0, 0, 0, -0.0104543, -0.999945, 0, 0.999945, -0.0104543, 0, -0.327579, -0.293065)
mesh = SubResource("BoxMesh_ag1t0")
