Initial commit

This commit is contained in:
2026-01-21 23:51:53 +01:00
commit 60b208fee0
1703 changed files with 100223 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
extends Area3D
class_name HitBox
@export var active: bool = false
var attack: Attack
func _ready() -> void:
monitorable = false
func _process(delta: float) -> void:
if !attack: return
var boxesHurt: Array[HurtBox]
for area in get_overlapping_areas():
if area is HurtBox:
boxesHurt.push_back(area)
for box in boxesHurt:
box.hit(attack)