aboutsummaryrefslogtreecommitdiff
path: root/scenes/projectiles/bullet.tscn
diff options
context:
space:
mode:
authorjacopograndi <jacopo.grandi@outlook.it>2021-12-09 00:52:59 +0100
committerjacopograndi <jacopo.grandi@outlook.it>2021-12-09 00:52:59 +0100
commit0f518727c28d3204415db14c7ca0e4f7cb653677 (patch)
treea595121771b69a52f17154d8e5c61b7e4b2b8190 /scenes/projectiles/bullet.tscn
working
Diffstat (limited to 'scenes/projectiles/bullet.tscn')
-rw-r--r--scenes/projectiles/bullet.tscn21
1 files changed, 21 insertions, 0 deletions
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