add attack swoosh effect
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user