extends Area var velocity = Vector3() var speed = 90 func _ready(): velocity = Vector3(0, 0, -1) #func _process(delta): # pass func _physics_process(delta): translate(velocity * speed * delta) func _on_Timer_timeout(): queue_free() func _on_PlayerBullet_area_entered(area): if is_queued_for_deletion(): return # print("PlayerBullet Hit!") queue_free()