add attack swoosh effect

This commit is contained in:
2025-02-18 03:38:56 +10:00
parent 80b7881cc6
commit 0b7e636c86
8 changed files with 65 additions and 15 deletions

View File

@@ -1,6 +1,8 @@
class_name Projectile
extends AnimatableBody3D
const HEIGHT: float = 1
@export var _collision_debug_material: Material
var _start_position: Vector3
@@ -16,6 +18,7 @@ func _ready() -> void:
_life_timer = _lifetime
_debug_collision_shapes.init(get_children(), self, _collision_debug_material)
global_position = _start_position
global_position.y = HEIGHT
func _physics_process(delta: float) -> void: