bullet visible by distance

This commit is contained in:
derek
2024-07-17 12:46:02 -05:00
parent a917dd2c88
commit c959835b40
4 changed files with 9 additions and 3 deletions

View File

@@ -105,6 +105,7 @@ func shoot(player,delta):
instance_bullet.bullet_damage = bullet_damage
instance_bullet.bullet_force_mod = bullet_force_mod
instance_bullet.instance_bullethole = bullethole.instantiate()
instance_bullet.player = player
get_tree().get_root().add_child(instance_bullet)
# Casing transform