2025-03-26 18:55:43 +01:00
|
|
|
[gd_scene load_steps=5 format=3 uid="uid://oykrff3g74eo"]
|
|
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://b788twwo1o6l2" path="res://Bullets/arrow.gd" id="1_r5o86"]
|
2025-04-02 18:02:13 +02:00
|
|
|
[ext_resource type="Texture2D" uid="uid://dqyhhvxpwtpsy" path="res://Assets/Emotes/emote_star.png" id="2_r5o86"]
|
2025-03-26 18:55:43 +01:00
|
|
|
|
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_r5o86"]
|
2025-04-02 18:02:13 +02:00
|
|
|
radius = 0.1
|
2025-03-26 18:55:43 +01:00
|
|
|
|
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_dsts2"]
|
2025-04-02 18:02:13 +02:00
|
|
|
radius = 0.12
|
2025-03-26 18:55:43 +01:00
|
|
|
|
|
|
|
|
[node name="Arrow" type="CharacterBody3D"]
|
|
|
|
|
script = ExtResource("1_r5o86")
|
2025-04-02 18:02:13 +02:00
|
|
|
speed = 10
|
2025-03-26 18:55:43 +01:00
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
2025-04-02 18:02:13 +02:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0715332, 0)
|
2025-03-26 18:55:43 +01:00
|
|
|
shape = SubResource("SphereShape3D_r5o86")
|
|
|
|
|
|
2025-04-02 18:02:13 +02:00
|
|
|
[node name="Sprite3D" type="Sprite3D" parent="."]
|
|
|
|
|
transform = Transform3D(2.5, 0, 0, 0, 2.5, 0, 0, 0, 2.5, 0, 0, 0)
|
|
|
|
|
billboard = 2
|
|
|
|
|
texture = ExtResource("2_r5o86")
|
|
|
|
|
|
2025-03-26 18:55:43 +01:00
|
|
|
[node name="Impact" type="Area3D" parent="."]
|
2025-06-05 15:35:19 +02:00
|
|
|
collision_layer = 4
|
|
|
|
|
collision_mask = 4
|
2025-03-26 18:55:43 +01:00
|
|
|
|
|
|
|
|
[node name="CollisionShape3D2" type="CollisionShape3D" parent="Impact"]
|
2025-04-02 18:02:13 +02:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0714111, 0)
|
2025-03-26 18:55:43 +01:00
|
|
|
shape = SubResource("SphereShape3D_dsts2")
|
|
|
|
|
debug_color = Color(0.926858, 0.237749, 0.335021, 0.42)
|
|
|
|
|
|
|
|
|
|
[connection signal="body_entered" from="Impact" to="." method="_on_impact_body_entered"]
|