From 0f518727c28d3204415db14c7ca0e4f7cb653677 Mon Sep 17 00:00:00 2001 From: jacopograndi Date: Thu, 9 Dec 2021 00:52:59 +0100 Subject: working --- scenes/turret.tscn | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 scenes/turret.tscn (limited to 'scenes/turret.tscn') diff --git a/scenes/turret.tscn b/scenes/turret.tscn new file mode 100644 index 0000000..61ab365 --- /dev/null +++ b/scenes/turret.tscn @@ -0,0 +1,14 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://scripts/turret.gd" type="Script" id=1] + +[sub_resource type="BoxShape" id=1] + +[node name="turret" type="Spatial" groups=["turrets"]] +script = ExtResource( 1 ) + +[node name="turret" type="StaticBody" parent="." groups=["turrets"]] + +[node name="CollisionShape" 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 ) -- cgit v1.2.3-54-g00ecf