10 lines
234 B
GDScript
10 lines
234 B
GDScript
class_name HitDetector
|
|
extends EnemyController
|
|
|
|
|
|
func _on_hitbox_took_damage(amount: int, damage_type: int, pos: Vector3) -> void:
|
|
#var sphere: CSGSphere3D = CSGSphere3D.new()
|
|
#add_child(sphere)
|
|
#sphere.global_position = pos
|
|
pass
|