]> purplebirdman git - frog-ninja.git/blob - asset/projectile/projectile.tscn
Squashed commit of the following:
[frog-ninja.git] / asset / projectile / projectile.tscn
1 [gd_scene load_steps=9 format=3 uid="uid://dxmuwbdsw1cux"]
2
3 [ext_resource type="Script" uid="uid://dhljelflbvhq0" path="res://asset/projectile/projectile.gd" id="1_a85iw"]
4 [ext_resource type="Script" uid="uid://cgj2olkiyt66o" path="res://asset/projectile/projectile_model.gd" id="2_ia5gd"]
5 [ext_resource type="Script" uid="uid://bfwn8qkon3k0y" path="res://asset/character/model/hurtbox.gd" id="2_qxf0c"]
6 [ext_resource type="Script" uid="uid://cy7gp78g4xag4" path="res://asset/projectile/projectile_hitbox.gd" id="3_e5gjc"]
7 [ext_resource type="PackedScene" uid="uid://c7wv7pk6df1wi" path="res://asset/effect/hit_effect.tscn" id="4_ia5gd"]
8 [ext_resource type="PackedScene" uid="uid://eoglfqffybu2" path="res://asset/projectile/projectile_visual.tscn" id="6_xofgy"]
9
10 [sub_resource type="SphereShape3D" id="SphereShape3D_a85iw"]
11 radius = 0.3
12
13 [sub_resource type="SphereShape3D" id="SphereShape3D_e5gjc"]
14
15 [node name="Projectile" type="Node3D"]
16 script = ExtResource("1_a85iw")
17
18 [node name="Model" type="Node3D" parent="."]
19 script = ExtResource("2_ia5gd")
20
21 [node name="Hurtbox" type="Area3D" parent="Model"]
22 script = ExtResource("2_qxf0c")
23 metadata/_custom_type_script = "uid://bfwn8qkon3k0y"
24
25 [node name="CollisionShape3D" type="CollisionShape3D" parent="Model/Hurtbox"]
26 shape = SubResource("SphereShape3D_a85iw")
27 debug_color = Color(1, 0.6, 0.701961, 0.419608)
28
29 [node name="Hitbox" type="Area3D" parent="Model"]
30 script = ExtResource("3_e5gjc")
31
32 [node name="CollisionShape3D" type="CollisionShape3D" parent="Model/Hitbox"]
33 shape = SubResource("SphereShape3D_e5gjc")
34 debug_color = Color(1.03962e-05, 0.819041, 0.983756, 0.419608)
35
36 [node name="HitEffect" parent="Model/Hitbox" instance=ExtResource("4_ia5gd")]
37
38 [node name="Visual" parent="Model" instance=ExtResource("6_xofgy")]