1
Fork 0
mirror of https://github.com/Steffo99/cinnos.git synced 2024-11-22 16:14:19 +00:00
cinnos/obstacles/torretta.tscn
2023-11-25 20:40:22 +01:00

21 lines
868 B
Text

[gd_scene load_steps=4 format=3 uid="uid://dfv2rsf4l7734"]
[ext_resource type="Script" path="res://Torretta.gd" id="1_wqejx"]
[ext_resource type="PackedScene" uid="uid://t0gblqb4yr8m" path="res://models/turret.glb" id="2_m7e8h"]
[sub_resource type="BoxShape3D" id="BoxShape3D_hwxik"]
size = Vector3(1.9188, 3.57475, 2.31203)
[node name="Torretta" type="StaticBody3D"]
transform = Transform3D(-0.810819, 0, 0.585297, 0, 1, 0, -0.585297, 0, -0.810819, 0, 0, 0)
script = ExtResource("1_wqejx")
initial_cooldown = 0.5
[node name="turret" parent="." instance=ExtResource("2_m7e8h")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.09828, 0)
shape = SubResource("BoxShape3D_hwxik")
[node name="RayCast3D" type="RayCast3D" parent="."]