dirt-racer/godot/turret.tscn
2024-05-21 15:06:14 +02:00

46 lines
1.6 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://brpccv2gy7pjs"]
[ext_resource type="PackedScene" uid="uid://d0ir0dpghkikq" path="res://beam.tscn" id="1_7e7bw"]
[sub_resource type="PrismMesh" id="PrismMesh_xjis4"]
size = Vector3(1, 3.135, 1)
[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_axukv"]
size = Vector3(0.5, 0.5, 1.735)
[node name="Turret" type="Turret"]
attack_classes = [&"CarPlayer"]
beam_scene = ExtResource("1_7e7bw")
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 178.697, 6.0093, 28.3981)
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.44861, 0)
mesh = SubResource("PrismMesh_xjis4")
[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
[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="MeshInstance3D2" type="MeshInstance3D" parent="Gun"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.277781)
mesh = SubResource("BoxMesh_axukv")
skeleton = NodePath("../..")