From 90af765b430e3a75daa9b2b4d0343ae58ad5c33d Mon Sep 17 00:00:00 2001 From: jacopograndi Date: Fri, 14 Jan 2022 00:06:52 +0100 Subject: secret work --- scenes/turret.tscn | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'scenes/turret.tscn') diff --git a/scenes/turret.tscn b/scenes/turret.tscn index 61ab365..c71f69f 100644 --- a/scenes/turret.tscn +++ b/scenes/turret.tscn @@ -1,14 +1,22 @@ -[gd_scene load_steps=3 format=2] +[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"]] -[node name="CollisionShape" type="CollisionShape" parent="turret"] +[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 -- cgit v1.2.3-54-g00ecf