]> 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=6 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://bfwn8qkon3k0y" path="res://asset/character/model/hurtbox.gd" id="2_qxf0c"]
5
6 [sub_resource type="SphereShape3D" id="SphereShape3D_a85iw"]
7 radius = 0.115693
8
9 [sub_resource type="SphereMesh" id="SphereMesh_qxf0c"]
10 radius = 0.1
11 height = 0.2
12
13 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qxf0c"]
14 shading_mode = 0
15 albedo_color = Color(1, 0, 1, 1)
16
17 [node name="Projectile" type="Node3D"]
18 script = ExtResource("1_a85iw")
19
20 [node name="Model" type="Node3D" parent="."]
21
22 [node name="Hurtbox" type="Area3D" parent="Model"]
23 script = ExtResource("2_qxf0c")
24 metadata/_custom_type_script = "uid://bfwn8qkon3k0y"
25
26 [node name="CollisionShape3D" type="CollisionShape3D" parent="Model/Hurtbox"]
27 shape = SubResource("SphereShape3D_a85iw")
28 debug_color = Color(1, 0.6, 0.701961, 0.419608)
29
30 [node name="Visual" type="Node3D" parent="."]
31
32 [node name="MeshInstance3D" type="MeshInstance3D" parent="Visual"]
33 mesh = SubResource("SphereMesh_qxf0c")
34 surface_material_override/0 = SubResource("StandardMaterial3D_qxf0c")