Bug fix
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://criqb4bokctlr"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://criqb4bokctlr"]
|
||||
|
||||
[ext_resource type="Script" path="res://Player/Base/Projectile.cs" id="1_6e1or"]
|
||||
[ext_resource type="Texture2D" uid="uid://cferkvvp0rjht" path="res://Textures/Projectiles/Projectile_Sagittarius.png" id="1_57flt"]
|
||||
[ext_resource type="AudioStream" uid="uid://m8mvw8acs5sk" path="res://Audio/SFX/Green Wave.wav" id="2_vvcho"]
|
||||
[ext_resource type="AudioStream" uid="uid://cat08h84wm5gm" path="res://Audio/SFX/ominous.wav" id="3_12vsu"]
|
||||
|
||||
[sub_resource type="Curve3D" id="Curve3D_7ok4f"]
|
||||
_data = {
|
||||
@@ -18,16 +17,14 @@ radius = 0.57027
|
||||
|
||||
[node name="MegamiBeam" type="Node3D" groups=["Projectile"]]
|
||||
|
||||
[node name="Path3D" type="Path3D" parent="." node_paths=PackedStringArray("_hitBox")]
|
||||
[node name="Path3D" type="Path3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0430247, 0.484383)
|
||||
top_level = true
|
||||
curve = SubResource("Curve3D_7ok4f")
|
||||
script = ExtResource("1_6e1or")
|
||||
Cooldown = 2.0
|
||||
_projectileSpeed = 3.0
|
||||
_soundEffect = ExtResource("2_vvcho")
|
||||
_onHitSfx = ExtResource("3_12vsu")
|
||||
_hitBox = NodePath("PathFollow3D/Beam")
|
||||
_projectileSpeed = 3.0
|
||||
HasRotation = true
|
||||
|
||||
[node name="PathFollow3D" type="PathFollow3D" parent="Path3D"]
|
||||
@@ -54,4 +51,8 @@ transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -0.003
|
||||
axis = 1
|
||||
texture = ExtResource("1_57flt")
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("2_vvcho")
|
||||
autoplay = true
|
||||
|
||||
[connection signal="body_entered" from="Path3D/PathFollow3D/Beam" to="Path3D" method="OnProjectileHit"]
|
||||
|
||||
Reference in New Issue
Block a user