resized enemy casing

This commit is contained in:
Derek
2024-07-26 17:55:47 -05:00
parent 9dc6d76de9
commit 94ddefc7f5
5 changed files with 48 additions and 8 deletions

View File

@@ -77,8 +77,8 @@ func _process(delta):
distance_to_player = abs(self.global_position - player.global_position)
#if distance_to_player.x > 4 or distance_to_player.z > 4:
move_and_slide()
if distance_to_player.x > 4 or distance_to_player.z > 4:
move_and_slide()
func _on_area_3d_body_part_hit(dam,bullet_damage):