Rotate bullet pattern to face parent

This commit is contained in:
Marco 2025-07-09 12:00:23 +02:00
commit 7d267c406d
19 changed files with 1325 additions and 1245 deletions

View file

@ -0,0 +1,18 @@
[gd_resource type="Resource" script_class="BulletScript3D" load_steps=6 format=3 uid="uid://cfhjwydjjjxat"]
[ext_resource type="Resource" uid="uid://qrqsywgiij7i" path="res://Resources/Bullets/3D/simple_enemy_bullet_small_3D.tres" id="1_hnqww"]
[ext_resource type="Script" uid="uid://b5s5mjuk1rng5" path="res://Scripts/Resources/TimeModifier.cs" id="2_q5dwt"]
[ext_resource type="Script" uid="uid://bxiprx5nwmpnu" path="res://Scripts/AttackPatterns/ShootingPattern3D.cs" id="3_ko0d0"]
[ext_resource type="Script" uid="uid://w8hcpu68ssq" path="res://Scripts/Resources/BulletScripts/BulletScript3D.cs" id="4_hhjh3"]
[sub_resource type="Resource" id="Resource_7yyul"]
script = ExtResource("3_ko0d0")
BulletResource = ExtResource("1_hnqww")
UseParentRotationOffset = true
spread = 180.0
metadata/_custom_type_script = "uid://bxiprx5nwmpnu"
[resource]
script = ExtResource("4_hhjh3")
Patterns = Array[Object]([SubResource("Resource_7yyul")])
metadata/_custom_type_script = "uid://w8hcpu68ssq"