From 0f518727c28d3204415db14c7ca0e4f7cb653677 Mon Sep 17 00:00:00 2001 From: jacopograndi Date: Thu, 9 Dec 2021 00:52:59 +0100 Subject: working --- scenes/projectiles/bullet.tscn | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 scenes/projectiles/bullet.tscn (limited to 'scenes/projectiles/bullet.tscn') diff --git a/scenes/projectiles/bullet.tscn b/scenes/projectiles/bullet.tscn new file mode 100644 index 0000000..bb49525 --- /dev/null +++ b/scenes/projectiles/bullet.tscn @@ -0,0 +1,21 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://scripts/bullet.gd" type="Script" id=1] + +[sub_resource type="SphereShape" id=1] + +[sub_resource type="SphereMesh" id=2] + +[node name="bullet" type="Spatial"] +script = ExtResource( 1 ) + +[node name="Area" type="Area" parent="."] + +[node name="CollisionShape" type="CollisionShape" parent="Area"] +transform = Transform( 0.03, 0, 0, 0, 0.03, 0, 0, 0, 0.03, 0, 0, 0 ) +shape = SubResource( 1 ) + +[node name="MeshInstance" type="MeshInstance" parent="Area"] +transform = Transform( 0.03, 0, 0, 0, 0.03, 0, 0, 0, 0.03, 0, 0, 0 ) +mesh = SubResource( 2 ) +material/0 = null -- cgit v1.2.3-54-g00ecf