working on picking up arrows
This commit is contained in:
@@ -10,9 +10,6 @@ const SPAWN_OUT_HEIGHT = 14.0
|
||||
func _process(delta: float) -> void:
|
||||
if follow_target != null:
|
||||
if spawn_out:
|
||||
#if global_position.y < SPAWN_OUT_HEIGHT: REMOVED BECAUSE I DIDN'T LIKE THE LOOK, LEAVING FOR NOW IN CASE I WANT TO MAKE A DIFFERENT EFFECT HAPPEN
|
||||
#linear_velocity = Vector3(0,10,0)
|
||||
#else:
|
||||
follow_target.gold += amount
|
||||
queue_free()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user